mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
d6c2926933
The vendor binary libraries of ESP-IDF are provided as a separate GIT repository. These libraries are defined as separate package for two reasons: 1. RIOT packages don't support to clone GIT repositories recursively; 2. ESP-IDF pulls a lot of other GIT repositories that are not needed when it is cloned recursively.
24 lines
885 B
Makefile
24 lines
885 B
Makefile
# Directory with the SDK source checkout. Some modules in the cpu/esp32 use
|
|
# internal parts of the SDK and for that they need access to the
|
|
# ESP32_SDK_DIR path.
|
|
export ESP32_SDK_DIR = $(PKGDIRBASE)/esp32_sdk
|
|
|
|
# Directory where we built the modified libraries and headers.
|
|
ESP32_SDK_BUILD_DIR ?= $(ESP32_SDK_DIR)/build-libs
|
|
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/driver/include
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/esp32/include
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/heap/include
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/soc/esp32/include
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/soc/include
|
|
|
|
PSEUDOMODULES += esp32_sdk
|
|
|
|
ifneq (,$(filter esp_eth,$(USEMODULE)))
|
|
INCLUDES += -I$(ESP32_SDK_DIR)/components/ethernet/include
|
|
endif
|
|
|
|
# Modified binary libraries are built here in the Makefile.
|
|
LINKFLAGS += -L$(ESP32_SDK_BUILD_DIR)
|