summaryrefslogtreecommitdiff
path: root/classes/cross.bbclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2010-02-28 20:47:24 +0000
committerPhil Blundell <philb@gnu.org>2010-02-28 20:47:24 +0000
commitdc352c9d9da30ec3d77aa58a7f535ce19871867d (patch)
tree6a7d1986bb92191974b230a9d9c12adb9095ff45 /classes/cross.bbclass
parentfd2bed3297f3b76a8a6b18ba599e7d9d71d2c045 (diff)
parentd58b4cdd9664e1926a4e14a575ba0bef4c2302ed (diff)
Merge branch 'org.openembedded.dev' of new.openembedded.org:openembedded into org.openembedded.dev
Diffstat (limited to 'classes/cross.bbclass')
-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}"