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