Skip to content

Commit

Permalink
fixup! boards: move some USEMODULE to Makefile.dep
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Feb 6, 2020
1 parent 0732893 commit 0e9c7a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 0 additions & 8 deletions boards/esp32-olimex-evb/Makefile.dep
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
USEMODULE += boards_common_esp32

# 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.dep
8 changes: 8 additions & 0 deletions boards/esp32-olimex-evb/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
PSEUDOMODULES += olimex_esp32_gateway

USEMODULE += boards_common_esp32

# 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

0 comments on commit 0e9c7a5

Please sign in to comment.