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 <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2016-05-20 09:57:20 -07:00 committed by Anas Nashif
commit a3a8828af3

View file

@ -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