summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-12 13:28:50 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-12 14:41:30 +0100
commit6124cccddfc202124fa76bb677ad3e06f0fefc70 (patch)
treec2967f7a000c67ca2690df5a6c5b17ac43af0d41
parent9e2600b6b983653e1b70ee571fc853a4cb2a969a (diff)
downloadpoky-6124cccddfc202124fa76bb677ad3e06f0fefc70.tar.gz
bitbake.conf: Always specific the sysroot in TOOLCHAIN_OPTIONS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 29dab544f7..dc68de2003 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -371,7 +371,7 @@ export PATH
371################################################################## 371##################################################################
372 372
373CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}" 373CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}"
374TOOLCHAIN_OPTIONS = "" 374TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"
375 375
376export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" 376export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
377export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" 377export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"