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:
parent
e80238d2a5
commit
cefbc394ca
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -20,6 +20,5 @@ ifneq (0,$(LWIP_IPV6))
|
||||
endif
|
||||
|
||||
ifneq (0,$(USE_LWIP))
|
||||
USEMODULE += lwip_netdev
|
||||
USEMODULE += lwip
|
||||
endif
|
||||
|
@ -24,7 +24,6 @@ ifeq (0,$(LWIP))
|
||||
USEMODULE += gnrc_icmpv6_echo
|
||||
else
|
||||
USEMODULE += lwip_ipv6
|
||||
USEMODULE += lwip_netdev
|
||||
endif
|
||||
|
||||
USEMODULE += netutils
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -22,7 +22,6 @@ endif
|
||||
|
||||
USEMODULE += inet_csum
|
||||
USEMODULE += l2util
|
||||
USEMODULE += lwip_netdev
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += netdev_test
|
||||
USEMODULE += ps
|
||||
|
@ -16,7 +16,6 @@ ifneq (0, $(LWIP_IPV6))
|
||||
endif
|
||||
|
||||
USEMODULE += inet_csum
|
||||
USEMODULE += lwip_netdev
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += netdev_test
|
||||
USEMODULE += ps
|
||||
|
@ -22,7 +22,6 @@ endif
|
||||
|
||||
USEMODULE += inet_csum
|
||||
USEMODULE += l2util
|
||||
USEMODULE += lwip_netdev
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += netdev_test
|
||||
USEMODULE += ps
|
||||
|
Loading…
Reference in New Issue
Block a user