mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/esp32-olimex-evb: Move inclusion of esp_eth to Makefile.dep
This commit is contained in:
parent
f46b0c2da3
commit
d24efc247c
@ -1 +1,6 @@
|
||||
include $(RIOTBOARD)/common/esp32/Makefile.dep
|
||||
|
||||
# enables esp_eth as default network device
|
||||
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
||||
USEMODULE += esp_eth
|
||||
endif
|
||||
|
@ -1,9 +1,3 @@
|
||||
PSEUDOMODULES += olimex_esp32_gateway
|
||||
|
||||
# enables esp_eth as default network device
|
||||
# cannot be done in Makefile.dep since Makefile.dep is included too late
|
||||
ifneq (,$(filter netdev_default gnrc_netdev_default,$(USEMODULE)))
|
||||
USEMODULE += esp_eth
|
||||
endif
|
||||
|
||||
include $(RIOTBOARD)/common/esp32/Makefile.include
|
||||
|
Loading…
Reference in New Issue
Block a user