From e2f8a0db6b52fc77a3377675899194b4684d454e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 21 Dec 2010 22:19:18 -0800 Subject: 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 --- conf/distro/include/sane-toolchain.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/distro/include/sane-toolchain.inc b/conf/distro/include/sane-toolchain.inc index 6802eb23c7..5d4fd45f96 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) -- cgit 1.2.3-korg