1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 23:49:47 +01:00

pkg/lwip: automatically pull in lwip_netdev

Pull in lwip_netdev for netdev integration automatically if there is
any netdev to integrate, otherwise don't pull in the module.

As a result, applications no longer need to select that module by hand.
This commit is contained in:
Marian Buschsieweke 2024-04-26 21:16:00 +02:00
parent e80238d2a5
commit cefbc394ca
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6
10 changed files with 6 additions and 11 deletions

View File

@ -18,7 +18,6 @@ ifeq (0,$(LWIP))
USEMODULE += gnrc_ipv6_default
else
USEMODULE += lwip_ipv6
USEMODULE += lwip_netdev
endif
# Add also the shell, some shell commands

View File

@ -24,8 +24,6 @@ ifeq (,$(filter 1, $(LWIP_IPV4) $(LWIP_IPV6)))
# Additional networking modules that can be dropped if not needed
USEMODULE += gnrc_icmpv6_echo
else
USEMODULE += lwip_netdev
ifeq (1,$(LWIP_IPV4))
USEMODULE += ipv4_addr

View File

@ -24,8 +24,6 @@ ifeq (,$(filter 1, $(LWIP_IPV4) $(LWIP_IPV6)))
# Additional networking modules that can be dropped if not needed
USEMODULE += gnrc_icmpv6_echo
else
USEMODULE += lwip_netdev
ifeq (1,$(LWIP_IPV4))
USEMODULE += ipv4_addr

View File

@ -20,6 +20,5 @@ ifneq (0,$(LWIP_IPV6))
endif
ifneq (0,$(USE_LWIP))
USEMODULE += lwip_netdev
USEMODULE += lwip
endif

View File

@ -24,7 +24,6 @@ ifeq (0,$(LWIP))
USEMODULE += gnrc_icmpv6_echo
else
USEMODULE += lwip_ipv6
USEMODULE += lwip_netdev
endif
USEMODULE += netutils

View File

@ -103,6 +103,11 @@ ifneq (,$(filter lwip_dhcp_auto,$(USEMODULE)))
USEMODULE += lwip_dhcp
endif
# if an actual netdev is used, we need lwip_netdev to integrate it
ifneq (,$(filter lwip_ethernet lwip_sixlowpan,$(USEMODULE)))
USEMODULE += lwip_netdev
endif
ifneq (,$(filter netif,$(USEMODULE)))
USEMODULE += fmt
endif

View File

@ -18,7 +18,7 @@ ifneq (0, $(LWIP_IPV6))
endif
# including lwip_ipv6_mld would currently break this test on at86rf2xx radios
USEMODULE += lwip lwip_netdev
USEMODULE += lwip
USEMODULE += lwip_udp
USEMODULE += lwip_tcp
USEMODULE += sock_async_event

View File

@ -22,7 +22,6 @@ endif
USEMODULE += inet_csum
USEMODULE += l2util
USEMODULE += lwip_netdev
USEMODULE += netdev_eth
USEMODULE += netdev_test
USEMODULE += ps

View File

@ -16,7 +16,6 @@ ifneq (0, $(LWIP_IPV6))
endif
USEMODULE += inet_csum
USEMODULE += lwip_netdev
USEMODULE += netdev_eth
USEMODULE += netdev_test
USEMODULE += ps

View File

@ -22,7 +22,6 @@ endif
USEMODULE += inet_csum
USEMODULE += l2util
USEMODULE += lwip_netdev
USEMODULE += netdev_eth
USEMODULE += netdev_test
USEMODULE += ps