diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-28 14:23:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-31 10:30:59 +0100 |
commit | b31a75a11f663d13c8089b8abd3a8fd080aa7e9a (patch) | |
tree | 91a991767e48bd82c8fdfc2f38003d4d838cddc1 /meta/classes/toolchain-scripts.bbclass | |
parent | 0120fa37d0215998947616a93a5b59cc4a40cd2a (diff) | |
download | openembedded-core-b31a75a11f663d13c8089b8abd3a8fd080aa7e9a.tar.gz openembedded-core-b31a75a11f663d13c8089b8abd3a8fd080aa7e9a.tar.bz2 openembedded-core-b31a75a11f663d13c8089b8abd3a8fd080aa7e9a.zip |
toolchain-scripts: Extend to cover nativesdk compiler tools (e.g. nativesdk-gcc)
This is needed when we add nativesdk-gcc/binutil to an SDK. Being
present doesn't hurt in other cases.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts.bbclass')
-rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index b838015ca5..d0b2b9148c 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass @@ -23,8 +23,8 @@ toolchain_create_sdk_env_script () { for i in ${CANADIANEXTRAOS}; do EXTRAPATH="$EXTRAPATH:$sdkpathnative$bindir/${TARGET_ARCH}${TARGET_VENDOR}-$i" done - echo "export PATH=$sdkpathnative$bindir:$sdkpathnative$bindir/${TARGET_SYS}"$EXTRAPATH':$PATH' >> $script - echo "export CCACHE_PATH=$sdkpathnative$bindir:$sdkpathnative$bindir/${TARGET_SYS}"$EXTRAPATH':$CCACHE_PATH' >> $script + echo "export PATH=$sdkpathnative$bindir:$sdkpathnative$bindir/../${HOST_SYS}/bin:$sdkpathnative$bindir/${TARGET_SYS}"$EXTRAPATH':$PATH' >> $script + echo "export CCACHE_PATH=$sdkpathnative$bindir:$sdkpathnative$bindir/../${HOST_SYS}/bin:$sdkpathnative$bindir/${TARGET_SYS}"$EXTRAPATH':$CCACHE_PATH' >> $script echo 'export PKG_CONFIG_SYSROOT_DIR=$SDKTARGETSYSROOT' >> $script echo 'export PKG_CONFIG_PATH=$SDKTARGETSYSROOT'"$libdir"'/pkgconfig' >> $script echo 'export CONFIG_SITE=${SDKPATH}/site-config-'"${multimach_target_sys}" >> $script |