diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-12 13:28:50 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-12 14:41:30 +0100 |
commit | 6124cccddfc202124fa76bb677ad3e06f0fefc70 (patch) | |
tree | c2967f7a000c67ca2690df5a6c5b17ac43af0d41 | |
parent | 9e2600b6b983653e1b70ee571fc853a4cb2a969a (diff) | |
download | poky-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.conf | 2 |
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 | ||
373 | CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}" | 373 | CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}" |
374 | TOOLCHAIN_OPTIONS = "" | 374 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}" |
375 | 375 | ||
376 | export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" | 376 | export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" |
377 | export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" | 377 | export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" |