1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/mynewt-core/mynewt-core_os.mk
Dylan Laduranty ed655ab29b pkg/mynewt-core: don't pull unwanted dependencies for nRF9160
As nRF9160 doesn't have a bluetooth radio, we should not pull the same dependencies as nRF52, thus ensure these dependencies are only added for nrf5x families
2021-09-07 09:27:11 +02:00

16 lines
214 B
Makefile

MODULE = mynewt-core_os
SRC := \
endian.c \
os_mbuf.c \
os_mempool.c \
os_msys.c \
os_cputime_pwr2.c \
#
ifneq (,$(filter nrf5%,$(CPU)))
SRC += os_cputime.c
endif
include $(RIOTBASE)/Makefile.base