]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Always specific the sysroot in TOOLCHAIN_OPTIONS
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 12 Aug 2010 12:28:50 +0000 (13:28 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 12 Aug 2010 13:41:30 +0000 (14:41 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/conf/bitbake.conf

index 29dab544f7c19a47efc7e1ffca6b953e94b3e788..dc68de2003387b74d930dbf330818d1efaa01344 100644 (file)
@@ -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}"