From a3a8828af36c7ba7cbe4673bcf463bdc2f2f0bb5 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Fri, 20 May 2016 09:57:20 -0700 Subject: [PATCH] scripts: Add the ISA to the path of included libraries for GCC ARM Embedded When compiling and linking Zephyr with GCC ARM Embedded, the path to the libraries to be linked needs to be provided explicitely for the correct variant to be linked in. JIRA: ZEP-377 Change-Id: I745aa45c7dde12f1cc5c8ea4380b904e086ed94d Signed-off-by: Carles Cufi --- scripts/Makefile.toolchain.gccarmemb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.toolchain.gccarmemb b/scripts/Makefile.toolchain.gccarmemb index c25469ddead..bd8a5cf897f 100644 --- a/scripts/Makefile.toolchain.gccarmemb +++ b/scripts/Makefile.toolchain.gccarmemb @@ -12,6 +12,6 @@ CROSS_COMPILE_version = ${CROSS_COMPILE_${ARCH}_version} TOOLCHAIN_LIBS = gcc -LIB_INCLUDE_DIR += -L ${GCCARMEMB_TOOLCHAIN_PATH}/lib/gcc/${CROSS_COMPILE_TARGET}/${CROSS_COMPILE_version}/ +LIB_INCLUDE_DIR += -L ${GCCARMEMB_TOOLCHAIN_PATH}/lib/gcc/${CROSS_COMPILE_TARGET}/${CROSS_COMPILE_version}/${_CROSS_COMPILE_arm_isa} export CROSS_COMPILE TOOLCHAIN_LIBS LIB_INCLUDE_DIR