mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/esp8266_sdk: add requirements to PKG_PREPARE
The shared `build-libs` directory needs to be available for modules/packages that depend on the SDK before that package is eventually compiled. Packages are downloaded, patched and prepared before any module is compiled. By adding the directory creation and header as a dependency of `PKG_PREPARE` we make sure the rule is run before compilation starts.
This commit is contained in:
parent
140824e69c
commit
044701d3cc
@ -20,7 +20,9 @@ ESP_SDK_LIBS = $(addprefix $(ESP8266_SDK_BUILD_DIR)/, $(ESP_SDK_COMPONENT_LIBS))
|
||||
|
||||
all: $(ESP_SDK_LIBS) $(ESP8266_SDK_BUILD_DIR)/esp8266_idf_version.h
|
||||
|
||||
$(ESP8266_SDK_BUILD_DIR):
|
||||
$(PKG_PREPARED): $(ESP8266_SDK_BUILD_DIR)
|
||||
|
||||
$(ESP8266_SDK_BUILD_DIR): $(PKG_PATCHED)
|
||||
$(Q)mkdir -p $(ESP8266_SDK_BUILD_DIR)
|
||||
|
||||
# Set the SDK version from the SDK hash/tag. For example "v3.1-51-g913a06a9".
|
||||
|
Loading…
Reference in New Issue
Block a user