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
|
|
|
|
|
|
|
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
|
2016-09-02 19:03:35 +02:00
|
|
|
ifneq (,$(filter lwip_sock,$(USEMODULE)))
|
|
|
|
ifneq (,$(filter lwip_ipv6,$(USEMODULE)))
|
|
|
|
CFLAGS += -DSOCK_HAS_IPV6
|
|
|
|
endif
|
|
|
|
DIRS += $(RIOTBASE)/pkg/lwip/contrib/sock
|
|
|
|
endif
|
|
|
|
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
|