aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Werner <ken.werner@linaro.org>2012-04-20 18:00:40 +0200
committerKen Werner <ken.werner@linaro.org>2012-04-23 15:24:51 +0200
commita038795ded4febe8df6d736ab9a9ecf1b5cef087 (patch)
tree7418feebae29482bd524efda25be9db23840ec9a
parent1e63540a3fbf5f320aedd50ab8fd8008f1af504a (diff)
downloadmeta-linaro-a038795ded4febe8df6d736ab9a9ecf1b5cef087.tar.gz
tcmode-external-linaro.inc: Fix target flags.
Replace TARGET_SYS with ELT_TARGET_SYS for the TARGET_CPPFLAGS and TARGET_LDFLAGS in order to let the cross compiler find its files. Signed-off-by: Ken Werner <ken.werner@linaro.org>
-rw-r--r--conf/distro/include/tcmode-external-linaro.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/distro/include/tcmode-external-linaro.inc b/conf/distro/include/tcmode-external-linaro.inc
index bf36c65d..cf7128d6 100644
--- a/conf/distro/include/tcmode-external-linaro.inc
+++ b/conf/distro/include/tcmode-external-linaro.inc
@@ -26,8 +26,8 @@ PREFERRED_PROVIDER_virtual/libiconv = "external-linaro-toolchain"
PREFERRED_PROVIDER_glibc-thread-db = "external-linaro-toolchain"
PREFERRED_PROVIDER_virtual/linux-libc-headers = "external-linaro-toolchain"
-TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/include "
-TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${TARGET_SYS}/lib "
+TARGET_CPPFLAGS_prepend = " -isystem${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/include "
+TARGET_LDFLAGS_prepend = " -L${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/lib -Wl,-rpath-link,${EXTERNAL_TOOLCHAIN}/${ELT_TARGET_SYS}/lib "
TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_HOST}"