Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit cf669cb

Browse files
committed
Bootstrap build for ESP32-Demo build
The ESP32-Demo project assumes openweave-core as a submodule and uses an in-tree makefile to build openweave. This adds a directive to bootstrap openweave-core as part of the ESP32-Demo build by way of the in-tree makefile.
1 parent beca957 commit cf669cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build/esp32/components/openweave/component.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,11 @@ check-config-args-updated : | $(OUTPUT_DIR)
152152
$(OUTPUT_DIR)/config.args : check-config-args-updated
153153
@: # Null action required to work around make's crazy timestamp caching behavior.
154154

155-
$(OUTPUT_DIR)/config.status : $(OUTPUT_DIR)/config.args
155+
$(OPENWEAVE_ROOT)/configure : $(OPENWEAVE_ROOT)/configure.ac
156+
echo "BOOTSTRAP OPENWEAVE..."
157+
(cd $(OPENWEAVE_ROOT) && ./bootstrap)
158+
159+
$(OUTPUT_DIR)/config.status : $(OPENWEAVE_ROOT)/configure $(OUTPUT_DIR)/config.args
156160
echo "CONFIGURE OPENWEAVE..."
157161
(cd $(OUTPUT_DIR) && $(OPENWEAVE_ROOT)/configure $(CONFIGURE_OPTIONS))
158162

0 commit comments

Comments
 (0)