1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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.
This commit is contained in:
Martine Lenders 2018-09-04 13:43:09 +02:00
parent 8871e5aaa6
commit 761f5febc3

View File

@ -466,6 +466,9 @@ ifneq (,$(filter lwip,$(USEMODULE)))
ifeq (,$(filter lwip_tcp lwip_udp lwip_udplite,$(USEMODULE)))
USEMODULE += lwip_raw
endif
ifneq (,$(filter netdev_eth,$(USEMODULE)))
USEMODULE += lwip_ethernet
endif
endif
ifneq (,$(filter lwip_ppp,$(USEMODULE)))