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:
parent
0c60a2a600
commit
ed655ab29b
@ -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
|
||||
|
@ -8,7 +8,7 @@ SRC := \
|
||||
os_cputime_pwr2.c \
|
||||
#
|
||||
|
||||
ifneq (,$(filter nrf%,$(CPU)))
|
||||
ifneq (,$(filter nrf5%,$(CPU)))
|
||||
SRC += os_cputime.c
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user