Skip to content
Snippets Groups Projects
Commit 761f5feb authored by Martine Lenders's avatar Martine Lenders
Browse files

lwip: pull in `lwip_ethernet` when `netdev_eth` is present

With out this fix the application or device drivers need to add this
module. Otherwise, compilation of the lwIP adaptation layer will fail
for Ethernet devices.
parent 8871e5aa
No related branches found
No related tags found
No related merge requests found
...@@ -466,6 +466,9 @@ ifneq (,$(filter lwip,$(USEMODULE))) ...@@ -466,6 +466,9 @@ ifneq (,$(filter lwip,$(USEMODULE)))
ifeq (,$(filter lwip_tcp lwip_udp lwip_udplite,$(USEMODULE))) ifeq (,$(filter lwip_tcp lwip_udp lwip_udplite,$(USEMODULE)))
USEMODULE += lwip_raw USEMODULE += lwip_raw
endif endif
ifneq (,$(filter netdev_eth,$(USEMODULE)))
USEMODULE += lwip_ethernet
endif
endif endif
ifneq (,$(filter lwip_ppp,$(USEMODULE))) ifneq (,$(filter lwip_ppp,$(USEMODULE)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment