mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 01:53:51 +01:00
pkg/lwip: fix dependencies when LWIP IPv4 and LWIP_DHCP is used
This commit is contained in:
parent
8272ca719d
commit
6be2534465
@ -111,13 +111,17 @@ endif
|
|||||||
|
|
||||||
# Addition of missing modules for boards that do not have physical network
|
# Addition of missing modules for boards that do not have physical network
|
||||||
# module - a dirty hack when lwip_dhcp is used for IPv4 (use of lwip_ipv4 module)
|
# module - a dirty hack when lwip_dhcp is used for IPv4 (use of lwip_ipv4 module)
|
||||||
# on such boards (lack of netdev_new_api module)
|
# on such boards (lack of netdev_eth module)
|
||||||
|
#
|
||||||
|
# This is dirty-hack" to solve compilation problem
|
||||||
|
# TODO:
|
||||||
|
# Find the root cause of the problem. PR #17174 and PR #17162 could be a good
|
||||||
|
# starting point.
|
||||||
ifneq (,$(filter lwip_dhcp,$(USEMODULE)))
|
ifneq (,$(filter lwip_dhcp,$(USEMODULE)))
|
||||||
ifneq (,$(filter lwip_ipv4,$(USEMODULE)))
|
ifneq (,$(filter lwip_ipv4,$(USEMODULE)))
|
||||||
ifeq (,$(filter netdev_new_api,$(USEMODULE)))
|
ifeq (,$(filter netdev_eth,$(USEMODULE)))
|
||||||
USEMODULE += netdev_eth
|
USEMODULE += netdev_eth
|
||||||
USEMODULE += netdev_new_api
|
endif
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user