sane-toolchain.inc: Use BASE_PACKAGE_ARCH instead of FEED_ARCH and prepend to OVERRIDES
authorKhem Raj <raj.khem@gmail.com>
Wed, 22 Dec 2010 06:19:18 +0000 (22:19 -0800)
committerKhem Raj <raj.khem@gmail.com>
Wed, 22 Dec 2010 19:10:09 +0000 (11:10 -0800)
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@gmail.com>
conf/distro/include/sane-toolchain.inc

index 6802eb2..5d4fd45 100644 (file)
@@ -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)