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

tests/lwip_sock: Don't control IPv6 usage from IPv4

Require less hacks to use dual stack
This commit is contained in:
Erik Ekman 2021-11-06 17:59:36 +01:00
parent 3677a93d96
commit 691bd46aae
3 changed files with 3 additions and 9 deletions

View File

@ -1,6 +1,7 @@
include ../Makefile.tests_common
LWIP_IPV4 ?= 0
LWIP_IPV6 ?= 1
AUX_LOCAL ?= 1
ifneq (0, $(LWIP_IPV4))
@ -8,9 +9,6 @@ ifneq (0, $(LWIP_IPV4))
USEMODULE += lwip_arp
USEMODULE += lwip_ipv4
CFLAGS += -DETHARP_SUPPORT_STATIC_ENTRIES=1
LWIP_IPV6 ?= 0
else
LWIP_IPV6 ?= 1
endif
ifneq (0, $(LWIP_IPV6))

View File

@ -1,15 +1,13 @@
include ../Makefile.tests_common
LWIP_IPV4 ?= 0
LWIP_IPV6 ?= 1
ifneq (0, $(LWIP_IPV4))
USEMODULE += ipv4_addr
USEMODULE += lwip_arp
USEMODULE += lwip_ipv4
CFLAGS += -DETHARP_SUPPORT_STATIC_ENTRIES=1
LWIP_IPV6 ?= 0
else
LWIP_IPV6 ?= 1
endif
ifneq (0, $(LWIP_IPV6))

View File

@ -1,6 +1,7 @@
include ../Makefile.tests_common
LWIP_IPV4 ?= 0
LWIP_IPV6 ?= 1
AUX_LOCAL ?= 1
ifneq (0, $(LWIP_IPV4))
@ -8,9 +9,6 @@ ifneq (0, $(LWIP_IPV4))
USEMODULE += lwip_arp
USEMODULE += lwip_ipv4
CFLAGS += -DETHARP_SUPPORT_STATIC_ENTRIES=1
LWIP_IPV6 ?= 0
else
LWIP_IPV6 ?= 1
endif
ifneq (0, $(LWIP_IPV6))