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

pkg/uwb-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:39 +02:00
parent ed655ab29b
commit 633ddee360

View File

@ -25,7 +25,7 @@ endif
ifneq (,$(filter uwb-core_dpl,$(USEMODULE)))
USEPKG += mynewt-core
USEMODULE += mynewt-core_os
ifneq (,$(filter nrf%,$(CPU)))
ifneq (,$(filter nrf5%,$(CPU)))
USEMODULE += mynewt-core_nrf5x_hal
endif
endif