toolchain.gccarmemb: Add include path for newlib headers
We need to expose the path to the newlib headers that are part of the ARM embedded gcc at ${GCCARMEMB_TOOLCHAIN_PATH}/arm-none-eabi/include otherwise we get build errors like when trying to use newlib: lib/libc/newlib/libc-hooks.c:17:19: fatal error: errno.h: No such file or directory Change-Id: Iedce526d23e54e54b9cefdfa6ca176fe12ed8090 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
7fdd4f758d
commit
52c987e941
1 changed files with 2 additions and 1 deletions
|
@ -13,5 +13,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}/${_CROSS_COMPILE_arm_isa}
|
||||
TOOLCHAIN_CFLAGS = -I${GCCARMEMB_TOOLCHAIN_PATH}/arm-none-eabi/include
|
||||
|
||||
export CROSS_COMPILE TOOLCHAIN_LIBS LIB_INCLUDE_DIR
|
||||
export CROSS_COMPILE TOOLCHAIN_LIBS TOOLCHAIN_CFLAGS LIB_INCLUDE_DIR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue