aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <clarson@mvista.com>2009-08-19 17:24:32 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-28 14:20:16 +0100
commit09774b0e3d69969caf97fee3f53947935e163d0a (patch)
tree652d8def8a057e2dcdc8a4caad563034d1dec1dd
parenta0f94d712ccc4aac004e5b55b5c4c279c4b11ee5 (diff)
downloadopenembedded-09774b0e3d69969caf97fee3f53947935e163d0a.tar.gz
cross.bbclass: keep TARGET_SYS & TARGET_PREFIX independent.
Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Michael Smith <msmith@cbnco.com>
-rw-r--r--classes/cross.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index 1de157c0f5..9a3d39cb49 100644
--- a/classes/cross.bbclass
+++ b/classes/cross.bbclass
@@ -2,6 +2,11 @@
# no need for them to be a direct target of 'world'
EXCLUDE_FROM_WORLD = "1"
+# In order to keep TARGET_PREFIX decoupled from TARGET_SYS, let's force the
+# binary names to match the former, rather than relying on autoconf's implicit
+# prefixing based on the latter.
+EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}"
+
# Save PACKAGE_ARCH before changing HOST_ARCH
OLD_PACKAGE_ARCH := "${PACKAGE_ARCH}"
PACKAGE_ARCH = "${OLD_PACKAGE_ARCH}"