mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Makefiles: Fix case where updating the WiFi libraries directory didn't trigger a re-link
This commit is contained in:
parent
cb6bd109f2
commit
412fbffeae
@ -46,8 +46,11 @@ $(ALL_LIB_FILES):
|
|||||||
@echo "Warning: Missing libraries in components/esp32/lib/ submodule. Going to try running 'git submodule update --init' in esp-idf root directory..."
|
@echo "Warning: Missing libraries in components/esp32/lib/ submodule. Going to try running 'git submodule update --init' in esp-idf root directory..."
|
||||||
cd ${IDF_PATH} && git submodule update --init
|
cd ${IDF_PATH} && git submodule update --init
|
||||||
|
|
||||||
# adding $(ALL_LIB_FILES) as a build dependency here is a hack to make
|
# this is a hack to make sure the app is re-linked if the binary
|
||||||
# sure they get evaluated. Once TW6630 lands and we have library file
|
# libraries change or are updated. If they change, the main esp32
|
||||||
# dependencies available at the project level, we can probably lose
|
# library will be rebuild by AR andthis will trigger a re-linking of
|
||||||
# this.
|
# the entire app.
|
||||||
build: $(ALL_LIB_FILES)
|
#
|
||||||
|
# It would be better for components to be able to expose any of these
|
||||||
|
# non-standard dependencies via get_variable, but this will do for now.
|
||||||
|
$(COMPONENT_LIBRARY): $(ALL_LIB_FILES)
|
||||||
|
Loading…
Reference in New Issue
Block a user