aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-03-22 01:05:23 +0000
committerMarcin Juszkiewicz <marcin@buglabs.net>2010-03-23 10:57:13 +0100
commit0a8318652f12c4139c9e8b36b94ff80e73be556e (patch)
tree0a1013aa0d76bf3f19b4868cd54916aceba5f360
parent0e32eb55ca942764f9e1f3f7c8f56dfb8d21f9ac (diff)
downloadopenembedded-0a8318652f12c4139c9e8b36b94ff80e73be556e.tar.gz
openembedded-0a8318652f12c4139c9e8b36b94ff80e73be556e.tar.bz2
openembedded-0a8318652f12c4139c9e8b36b94ff80e73be556e.zip
procps_3.2.7.bb: Fix compilation when usr/bin is same as /bin
* On DISTROs like micro where bindir and base_bindir are same, procps does not compile because it wants to install binaries in both places. We have to pass the variable to make file since it does not use autotools. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Philip Balister <philip@balister.org>
-rw-r--r--recipes/procps/procps_3.2.7.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes/procps/procps_3.2.7.bb b/recipes/procps/procps_3.2.7.bb
index 6da975adc7..b31b683708 100644
--- a/recipes/procps/procps_3.2.7.bb
+++ b/recipes/procps/procps_3.2.7.bb
@@ -1,6 +1,6 @@
require procps.inc
-PR = "r8"
+PR = "r9"
inherit update-rc.d
@@ -23,6 +23,9 @@ CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
CPPFLAGS=-I${STAGING_INCDIR} \
+ usr/bin=${D}${bindir}/ \
+ bin=${D}${base_bindir}/ \
+ usr/proc/bin=${D}${bindir}/ \
LDFLAGS="${LDFLAGS}" \
CURSES=-lncurses \
install='install -D' \