1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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
This commit is contained in:
Dylan Laduranty 2021-09-07 09:27:11 +02:00
parent 0c60a2a600
commit ed655ab29b
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ MODULE = mynewt-core
# exclude submodule sources from *.c wildcard source selection
SRC := $(filter-out nrf5x_isr.c cputime.c,$(wildcard *.c))
ifneq (,$(filter nrf%,$(CPU)))
ifneq (,$(filter nrf5%,$(CPU)))
SRC += nrf5x_isr.c
else
SRC += cputime.c

View File

@ -8,7 +8,7 @@ SRC := \
os_cputime_pwr2.c \
#
ifneq (,$(filter nrf%,$(CPU)))
ifneq (,$(filter nrf5%,$(CPU)))
SRC += os_cputime.c
endif