2016-09-02 19:03:35 +02:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
|
|
|
LWIP_IPV4 ?= 0
|
|
|
|
|
|
|
|
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))
|
|
|
|
USEMODULE += ipv6_addr
|
|
|
|
USEMODULE += lwip_ipv6_autoconfig
|
|
|
|
endif
|
|
|
|
|
|
|
|
USEMODULE += inet_csum
|
2019-03-29 13:09:28 +01:00
|
|
|
USEMODULE += l2util
|
2018-09-04 13:47:36 +02:00
|
|
|
USEMODULE += lwip_netdev
|
2016-09-02 19:03:35 +02:00
|
|
|
USEMODULE += lwip_sock_udp
|
2017-02-15 13:07:34 +01:00
|
|
|
USEMODULE += netdev_eth
|
|
|
|
USEMODULE += netdev_test
|
2016-09-02 19:03:35 +02:00
|
|
|
USEMODULE += ps
|
|
|
|
|
|
|
|
DISABLE_MODULE += auto_init
|
|
|
|
|
|
|
|
CFLAGS += -DSO_REUSE
|
|
|
|
CFLAGS += -DLWIP_SO_RCVTIMEO
|
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.include
|