aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorChristopher Larson <clarson@mvista.com>2009-08-19 17:24:32 +0000
committerChris Larson <chris_larson@mentor.com>2010-02-25 11:42:26 -0700
commit96da6f4431503ab682ae690868fb5fcaa3a8947f (patch)
tree9e28795a0487bf5edb56f90ef45550172471620d /classes
parentdf32920678d15c86897b50b752b937210a01edea (diff)
downloadopenembedded-96da6f4431503ab682ae690868fb5fcaa3a8947f.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> Acked-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'classes')
-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}"