mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
nordic_softdevice_ble: print when removing router modules
Add a warning message in user's console to inform them routing capabilities will be disabled with the softdevice
This commit is contained in:
parent
d4661af4c8
commit
6db9bafae5
@ -72,7 +72,12 @@ ifneq (,$(filter nordic_softdevice_ble,$(USEPKG)))
|
||||
USEMODULE += gnrc_ipv6_default
|
||||
# prevent application from being a router
|
||||
# TODO: maybe find a nicer solution in future build system update
|
||||
USEMODULE := $(filter-out gnrc_ipv6_router% gnrc_rpl netstats_rpl auto_init_gnrc_rpl,$(USEMODULE))
|
||||
_ROUTER_MODULES = gnrc_ipv6_router% gnrc_rpl netstats_rpl auto_init_gnrc_rpl
|
||||
ifneq (,$(filter $(_ROUTER_MODULES),$(USEMODULE)))
|
||||
$(warning nordic_softdevice_ble: Disabling router modules:\
|
||||
$(filter $(_ROUTER_MODULES),$(USEMODULE)))
|
||||
endif
|
||||
USEMODULE := $(filter-out $(_ROUTER_MODULES),$(USEMODULE))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter gnrc_%,$(filter-out gnrc_netapi gnrc_netreg gnrc_netif% gnrc_pkt%,$(USEMODULE))))
|
||||
|
Loading…
Reference in New Issue
Block a user