diff options
Diffstat (limited to 'meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh')
-rw-r--r-- | meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh b/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh index 94760076bf..81b3018bb6 100644 --- a/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh +++ b/meta/recipes-devtools/icecc-toolchain/icecc-toolchain/icecc-env.sh | |||
@@ -38,11 +38,11 @@ if [ -n "$ICECC_PATH" ]; then | |||
38 | CXXFLAGS="$CXXFLAGS -fno-diagnostics-show-caret" | 38 | CXXFLAGS="$CXXFLAGS -fno-diagnostics-show-caret" |
39 | fi | 39 | fi |
40 | export ICECC_PATH ICECC_CARET_WORKAROUND | 40 | export ICECC_PATH ICECC_CARET_WORKAROUND |
41 | export ICECC_VERSION="$OECORE_NATIVE_SYSROOT/usr/share/icecream/@TOOLCHAIN_ENV@" | 41 | export ICECC_VERSION="$(echo "$OECORE_NATIVE_SYSROOT/usr/share/${TARGET_PREFIX}icecream/@TOOLCHAIN_ENV@" | sed "s,@TARGET_PREFIX@,$TARGET_PREFIX,g")" |
42 | export ICECC="$(which ${CROSS_COMPILE}gcc)" | 42 | export ICECC="$(which ${CROSS_COMPILE}gcc)" |
43 | export ICECXX="$(which ${CROSS_COMPILE}g++)" | 43 | export ICECXX="$(which ${CROSS_COMPILE}g++)" |
44 | export ICEAS="$(which ${CROSS_COMPILE}as)" | 44 | export ICEAS="$(which ${CROSS_COMPILE}as)" |
45 | export PATH="$OECORE_NATIVE_SYSROOT/usr/share/icecream/bin:$PATH" | 45 | export PATH="$OECORE_NATIVE_SYSROOT/usr/share/${TARGET_PREFIX}icecream/bin:$PATH" |
46 | else | 46 | else |
47 | echo "Icecc not found. Disabling distributed compiling" | 47 | echo "Icecc not found. Disabling distributed compiling" |
48 | fi | 48 | fi |