mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-25 00:35:23 +00:00
For CMSIS we now have HAS_CMSIS which needs to be added to the SoC definition. Instead of changing the main Makefile we now include a sub-Makefile with all related header and library paths that are hosted in ext/ Move redifintion of LIB_INCLUDE_DIR later to get variables defined in Makefile.toolchain.* Change-Id: I9f90f90247c2a66b4565427b89d4e1d4dd5c9622 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
14 lines
262 B
Makefile
14 lines
262 B
Makefile
|
|
ifdef CONFIG_TINYCRYPT
|
|
ZEPHYRINCLUDE += -I$(srctree)/lib/crypto/tinycrypt/include
|
|
endif
|
|
|
|
ifdef CONFIG_MINIMAL_LIBC
|
|
ZEPHYRINCLUDE += -I$(srctree)/lib/libc/minimal/include
|
|
endif
|
|
|
|
ifdef CONFIG_NEWLIB_LIBC
|
|
ZEPHYRINCLUDE += $(TOOLCHAIN_CFLAGS)
|
|
ALL_LIBS += m c
|
|
endif
|