pkg/esp32_sdk_libs: 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, prepared before any module is compiled. By adding the directory creation as a dependency of `PKG_PREPARE` we make sure the rule is run before compilation starts.
This commit is contained in:
parent
18dca48510
commit
e5365adb93
@ -31,7 +31,9 @@ ESP32_SDK_LIBS = $(addprefix $(ESP32_SDK_BUILD_DIR)/, $(ESP32_SDK_COMPONENT_LIBS
|
||||
|
||||
all: $(ESP32_SDK_LIBS)
|
||||
|
||||
$(ESP32_SDK_BUILD_DIR):
|
||||
$(PKG_PREPARED): $(ESP32_SDK_BUILD_DIR)
|
||||
|
||||
$(ESP32_SDK_BUILD_DIR): $(PKG_PATCHED)
|
||||
$(Q)mkdir -p $(ESP32_SDK_BUILD_DIR)
|
||||
|
||||
$(ESP32_SDK_BUILD_DIR)/lib%.a: \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user