summaryrefslogtreecommitdiff
path: root/meta/conf/bitbake.conf
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 /meta/conf/bitbake.conf
parent9e2600b6b983653e1b70ee571fc853a4cb2a969a (diff)
downloadopenembedded-core-6124cccddfc202124fa76bb677ad3e06f0fefc70.tar.gz
openembedded-core-6124cccddfc202124fa76bb677ad3e06f0fefc70.tar.bz2
openembedded-core-6124cccddfc202124fa76bb677ad3e06f0fefc70.zip
bitbake.conf: Always specific the sysroot in TOOLCHAIN_OPTIONS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/conf/bitbake.conf')
-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
##################################################################
CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}"
-TOOLCHAIN_OPTIONS = ""
+TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"
export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"