mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
7f30bf2aef
A number of subdirectories in cpu/esp32/vendor/esp-idf have to be compiled ony, when according modules are required by the application.
23 lines
418 B
Makefile
23 lines
418 B
Makefile
MODULE=esp_idf
|
|
|
|
DIRS += driver
|
|
DIRS += esp32
|
|
DIRS += soc
|
|
DIRS += spi_flash
|
|
|
|
ifneq (,$(filter esp_idf_heap,$(USEMODULE)))
|
|
DIRS += heap
|
|
endif
|
|
|
|
ifneq (,$(filter esp_wifi_any,$(USEMODULE)))
|
|
DIRS += nvs_flash
|
|
DIRS += wpa_supplicant
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/smartconfig_ack/include
|
|
endif
|
|
|
|
ifneq (,$(filter esp_eth,$(USEMODULE)))
|
|
DIRS += ethernet
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|