mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-10 11:25:21 +00:00
Cleanup main Makefile and remove all library related code to lib/ to better support the increasing number of libraries and to keep the main Makefile clean from library dependencies. Jira: ZEP-308 Change-Id: Id83cf309020604b8eab8d80cad0021905d5b5f7a Signed-off-by: Anas Nashif <anas.nashif@intel.com>
19 lines
371 B
Makefile
19 lines
371 B
Makefile
|
|
ifdef CONFIG_TINYCRYPT
|
|
ZEPHYRINCLUDE += -I$(srctree)/lib/crypto/tinycrypt/include
|
|
endif
|
|
|
|
ifdef CONFIG_QMSI_LIBRARY
|
|
LIB_INCLUDE_DIR += -L$(CONFIG_QMSI_INSTALL_PATH:"%"=%)/lib
|
|
ALL_LIBS += qmsi
|
|
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
|