mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
shell_commands/gnrc_netif: fix gnrc_netif_cmd_lora dependency
This commit fixes the dependency resolution of `gnrc_netif_cmd_lora`. As it was, this module was pulled by the driver if `gnrc` was used. Besides pulling an extra dependency in applications that don't use `shell_commands` or `gnrc_lorawan`, this hardcodes the module resolution in the drivers. This commit pulls `gnrc_netif_cmd_lora` if `shell_commands` and `gnrc_lorawan` are present.
This commit is contained in:
parent
03670e6e86
commit
c8f9d85002
@ -7,8 +7,3 @@ USEMODULE += ztimer_usec
|
||||
USEMODULE += ztimer_msec
|
||||
|
||||
USEMODULE += lora
|
||||
|
||||
ifneq (,$(filter gnrc,$(USEMODULE)))
|
||||
# Pull in `ifconfig` support for LoRA
|
||||
USEMODULE += gnrc_netif_cmd_lora
|
||||
endif
|
||||
|
@ -262,6 +262,10 @@ ifneq (,$(filter shell_commands,$(USEMODULE)))
|
||||
USEMODULE += netif
|
||||
USEMODULE += ipv6_addr
|
||||
endif
|
||||
|
||||
ifneq (,$(filter gnrc_lorawan,$(USEMODULE)))
|
||||
USEMODULE += gnrc_netif_cmd_lora
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter posix_semaphore,$(USEMODULE)))
|
||||
|
Loading…
Reference in New Issue
Block a user