procps-ng: Fix installation and take precedence over busybox
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 10 Sep 2014 14:30:06 +0000 (15:30 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 13 Sep 2014 21:55:51 +0000 (23:55 +0200)
commit8b33a9531c4e64a53bfe9fbd59ef454ebd5128e3
treee8420de1239dcfc2206b751661cfc7a796814793
parent652ad4678a3d9172b94b8a06844ccbfd5969c8c5
procps-ng: Fix installation and take precedence over busybox

Currently procps-ng binaries are installed under $(TARGET_DIR)/usr/usr
instead of $(TARGET_DIR)/usr, which would be the expected. This is
caused because the default value of the --exec-prefix configure option
is /usr, and Buildroot always adds --prefix=/usr to the configure
option. We fix this by setting --exec-prefix to an empty value.

At the same time we make sure the procps-ng binaries have precedence
over the busybox ones.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos.Chandras <Markos.Chandras@imgtec.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/procps-ng/procps-ng.mk