1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/esp32_sdk/Makefile
Benjamin Valentin 73e1b3df89 pkg/esp32_sdk: Update version to 4.4.1
Use the latest tagged release of the SDK.
2022-06-05 11:53:31 +02:00

19 lines
577 B
Makefile

PKG_NAME=esp32_sdk
PKG_URL=https://github.com/espressif/esp-idf
# v4.4.1
PKG_VERSION=1329b19fe494500aeb79d19b27cfd99b40c37aec
PKG_LICENSE=Apache-2.0
include $(RIOTBASE)/pkg/pkg.mk
ESP32_SDK_VER_FILE = $(PKG_SOURCE_DIR)/components/esp_idf_ver.h
ESP32_SDK_VER_CMD = $(shell git -C $(PKG_SOURCE_DIR) describe --tags $(PKG_VERSION))
all: $(ESP32_SDK_VER_FILE)
$(PKG_PREPARED): $(ESP32_SDK_VER_FILE)
# Set the SDK version from the SDK hash/tag. For example "v4.4-98-geb3797dc3ff".
$(ESP32_SDK_VER_FILE): $(PKG_PATCHED)
$(Q)echo "#define IDF_VER \"$(ESP32_SDK_VER_CMD)\"" > $@