[oe-commits] Khem Raj : sane-toolchain.inc: Use BASE_PACKAGE_ARCH instead of FEED_ARCH and prepend to OVERRIDES

git version control git at git.openembedded.org
Wed Dec 22 19:10:34 UTC 2010


Module: openembedded.git
Branch: master
Commit: e2f8a0db6b52fc77a3377675899194b4684d454e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e2f8a0db6b52fc77a3377675899194b4684d454e

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Dec 21 22:19:18 2010 -0800

sane-toolchain.inc: Use BASE_PACKAGE_ARCH instead of FEED_ARCH and prepend to OVERRIDES

Currently it ends up after local override and hence appears first in FILESPATH
and for buiding uclibc_git.bb on qemuarm it picks wrong uClibc.machine file from
uclibc-git/armv5te where as it should have picked from uclibc-git/qemuarm

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 conf/distro/include/sane-toolchain.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/distro/include/sane-toolchain.inc b/conf/distro/include/sane-toolchain.inc
index 6802eb2..5d4fd45 100644
--- a/conf/distro/include/sane-toolchain.inc
+++ b/conf/distro/include/sane-toolchain.inc
@@ -72,10 +72,10 @@ TARGET_VENDOR = "-oe"
 TOOLCHAIN_TYPE ?= "internal"
 require conf/distro/include/toolchain-${TOOLCHAIN_TYPE}.inc
 
-# Add FEED_ARCH to the overrides list so that we can override the
+# Add BASE_PACKAGE_ARCH to the overrides list so that we can override the
 # ARM_INSTRUCTION_SET like below
 
-OVERRIDES .= ":${FEED_ARCH}"
+OVERRIDES =. "${BASE_PACKAGE_ARCH}:"
 
 # ARM920T and up can use thumb mode to decrease binary size at the expense of speed
 # (the complete story is a bit more nuanced due to cache starvation)





More information about the Openembedded-commits mailing list