2015-08-03 22:30:46 +02:00
|
|
|
INCLUDES += -I$(RIOTBASE)/pkg/lwip/include \
|
2017-02-25 15:41:39 +01:00
|
|
|
-I$(PKGDIRBASE)/lwip/src/include
|
2015-11-15 20:58:39 +01:00
|
|
|
|
2018-09-28 11:59:19 +02:00
|
|
|
PSEUDOMODULES += lwip_arp
|
|
|
|
PSEUDOMODULES += lwip_autoip
|
|
|
|
PSEUDOMODULES += lwip_dhcp
|
2019-12-18 07:16:20 +01:00
|
|
|
PSEUDOMODULES += lwip_dhcp_auto
|
2018-09-28 11:59:19 +02:00
|
|
|
PSEUDOMODULES += lwip_ethernet
|
|
|
|
PSEUDOMODULES += lwip_igmp
|
|
|
|
PSEUDOMODULES += lwip_ipv6_autoconfig
|
|
|
|
PSEUDOMODULES += lwip_ipv6_mld
|
|
|
|
PSEUDOMODULES += lwip_raw
|
|
|
|
PSEUDOMODULES += lwip_sixlowpan
|
|
|
|
PSEUDOMODULES += lwip_stats
|
|
|
|
PSEUDOMODULES += lwip_tcp
|
|
|
|
PSEUDOMODULES += lwip_udp
|
|
|
|
PSEUDOMODULES += lwip_udplite
|
2020-02-20 12:51:19 +01:00
|
|
|
PSEUDOMODULES += lwip_sock_async
|
2018-09-28 11:59:19 +02:00
|
|
|
|
2024-01-12 17:53:46 +01:00
|
|
|
ifneq (,$(filter arch_64bit,$(FEATURES_USED)))
|
|
|
|
# Required for platforms where sizeof(void*) > 4
|
|
|
|
CFLAGS += -DIPV6_FRAG_COPYHEADER=1
|
|
|
|
endif
|
|
|
|
|
2015-11-15 20:58:39 +01:00
|
|
|
ifneq (,$(filter lwip_contrib,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/lwip/contrib
|
2015-11-13 19:41:11 +01:00
|
|
|
endif
|
2017-02-15 13:07:34 +01:00
|
|
|
ifneq (,$(filter lwip_netdev,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/lwip/contrib/netdev
|
2015-11-13 19:41:11 +01:00
|
|
|
endif
|
2021-03-06 13:43:14 +01:00
|
|
|
ifneq (,$(filter lwip_netif_init_devs,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/lwip/init_devs
|
|
|
|
endif
|
2016-09-02 19:03:35 +02:00
|
|
|
ifneq (,$(filter lwip_sock,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/lwip/contrib/sock
|
|
|
|
endif
|
2020-02-20 12:51:19 +01:00
|
|
|
ifneq (,$(filter lwip_sock_async,$(USEMODULE)))
|
|
|
|
CFLAGS += -DSOCK_HAS_ASYNC
|
|
|
|
endif
|
2016-09-02 19:03:35 +02:00
|
|
|
ifneq (,$(filter lwip_sock_ip,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/lwip/contrib/sock/ip
|
|
|
|
endif
|
2016-09-02 19:03:35 +02:00
|
|
|
ifneq (,$(filter lwip_sock_tcp,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/lwip/contrib/sock/tcp
|
|
|
|
endif
|
2016-09-02 19:03:35 +02:00
|
|
|
ifneq (,$(filter lwip_sock_udp,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTBASE)/pkg/lwip/contrib/sock/udp
|
|
|
|
endif
|