[oe-commits] Christopher Larson : cross.bbclass: keep TARGET_SYS & TARGET_PREFIX independent.

git version control git at git.openembedded.org
Sun Jan 24 10:39:19 UTC 2010


Module: openembedded.git
Branch: holger/staging-branch
Commit: a5f2e04cb1ec673097b4d0fcbee790729a555e90
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a5f2e04cb1ec673097b4d0fcbee790729a555e90

Author: Christopher Larson <clarson at mvista.com>
Date:   Thu Aug 20 02:24:32 2009 +0000

cross.bbclass: keep TARGET_SYS & TARGET_PREFIX independent.

Signed-off-by: Chris Larson <clarson at mvista.com>
Acked-by: Michael Smith <msmith at cbnco.com>

---

 classes/cross.bbclass |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/classes/cross.bbclass b/classes/cross.bbclass
index 1de157c..9a3d39c 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}"





More information about the Openembedded-commits mailing list