mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ed655ab29b
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
13 lines
263 B
Makefile
13 lines
263 B
Makefile
MODULE = mynewt-core
|
|
|
|
# exclude submodule sources from *.c wildcard source selection
|
|
SRC := $(filter-out nrf5x_isr.c cputime.c,$(wildcard *.c))
|
|
|
|
ifneq (,$(filter nrf5%,$(CPU)))
|
|
SRC += nrf5x_isr.c
|
|
else
|
|
SRC += cputime.c
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|