mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
df913bf9bf
sock: cleanup dependencies
25 lines
603 B
Makefile
25 lines
603 B
Makefile
# lwIP's memory management doesn't seem to work on non 32-bit platforms at the
|
|
# moment.
|
|
FEATURES_REQUIRED += arch_32bit
|
|
|
|
DEFAULT_MODULE += auto_init_lwip
|
|
|
|
ifneq (,$(filter sock_async,$(USEMODULE)))
|
|
USEMODULE += lwip_sock_async
|
|
endif
|
|
ifneq (,$(filter sock_ip,$(USEMODULE)))
|
|
USEMODULE += lwip_sock_ip
|
|
endif
|
|
ifneq (,$(filter sock_tcp,$(USEMODULE)))
|
|
USEMODULE += lwip_sock_tcp
|
|
endif
|
|
ifneq (,$(filter sock_udp,$(USEMODULE)))
|
|
USEMODULE += lwip_sock_udp
|
|
endif
|
|
|
|
ifneq (,$(filter stm32_eth,$(USEMODULE)))
|
|
ifneq (,$(filter lwip_dhcp_auto,$(USEMODULE)))
|
|
USEMODULE += stm32_eth_link_up
|
|
endif
|
|
endif
|