1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp32/vendor/esp-idf/Makefile
Gunar Schorcht 7f30bf2aef cpu/esp32: optimizing compilation of subdirs
A number of subdirectories in cpu/esp32/vendor/esp-idf have to be compiled ony, when according modules are required by the application.
2019-08-06 08:05:28 +02:00

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