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

Commit d254f6c

Browse files
committed
Bootstrap build for Nordic nRF52840 Lock Example
The Nordic nRF52840 lock example 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 lock example by way of the in-tree makefile.
1 parent cf669cb commit d254f6c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build/nrf5/nrf5-openweave.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,11 @@ define OpenWeaveBuildRules
194194
$(OPENWEAVE_OUTPUT_DIR)/config.args : .check-config-weave
195195
@: # Null action required to work around make's crazy timestamp caching behavior.
196196

197-
$(OPENWEAVE_OUTPUT_DIR)/config.status : $(OPENWEAVE_OUTPUT_DIR)/config.args
197+
$(OPENWEAVE_ROOT)/configure : $(OPENWEAVE_ROOT)/configure.ac
198+
@echo "$(HDR_PREFIX)BOOTSTRAP OPENWEAVE..."
199+
$(NO_ECHO)(cd $(OPENWEAVE_ROOT) && ./bootstrap)
200+
201+
$(OPENWEAVE_OUTPUT_DIR)/config.status : $(OPENWEAVE_ROOT)/configure $(OPENWEAVE_OUTPUT_DIR)/config.args
198202
@echo "$(HDR_PREFIX)CONFIGURE OPENWEAVE..."
199203
$(NO_ECHO)(cd $(OPENWEAVE_OUTPUT_DIR) && $(OPENWEAVE_ROOT)/configure $(OPENWEAVE_CONFIGURE_OPTIONS))
200204

0 commit comments

Comments
 (0)