This repository was archived by the owner on Dec 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +21
-15
lines changed
esp32/components/openweave Expand file tree Collapse file tree 7 files changed +21
-15
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ gcc_check_happy()
6060case " ${BUILD_TARGET} " in
6161
6262 linux-auto-clang)
63- ./configure && make && make check
63+ ./configure -C && make && make check
6464 ;;
6565
6666 linux-auto-gcc-check)
67- ./configure --enable-coverage && make && make check
67+ ./configure -C - -enable-coverage && make && make check
6868 ;;
6969
7070 linux-auto-gcc-check-happy)
@@ -76,13 +76,13 @@ case "${BUILD_TARGET}" in
7676 ;;
7777
7878 linux-lwip-clang)
79- ./configure --with-target-network=lwip --with-lwip=internal --disable-java && make
79+ ./configure -C - -with-target-network=lwip --with-lwip=internal --disable-java && make
8080 ;;
8181
8282 linux-lwip-gcc-check)
8383 # Note, LwIP requires sudo prior to running 'make check' to ensure the appropriate TUN and bridge interfaces
8484 # may be created.
85- ./configure --enable-coverage --with-target-network=lwip --with-lwip=internal --disable-java && make && sudo make check
85+ ./configure -C - -enable-coverage --with-target-network=lwip --with-lwip=internal --disable-java && make && sudo make check
8686 ;;
8787
8888 osx-auto-clang)
@@ -102,11 +102,11 @@ case "${BUILD_TARGET}" in
102102 ;;
103103
104104 linux-auto-* -distcheck)
105- ./configure && make distcheck
105+ ./configure -C && make distcheck
106106 ;;
107107
108108 linux-auto-* -lint)
109- ./configure && make pretty-check
109+ ./configure -C && make pretty-check
110110 ;;
111111
112112 * )
Original file line number Diff line number Diff line change 11#
2+ # Copyright (c) Project openweave-core Authors
23# Copyright (c) 2014-2017 Nest Labs, Inc.
34# All rights reserved.
45#
@@ -259,7 +260,7 @@ AMFILES = src/system/SystemLayer.am \
259260#
260261define configure-action
261262$(ECHO) " CONFIG $(ABI_CONFIG_TUPLE_$(1))..."
262- (cd $(BuildPath)/$(ABI_CONFIG_TUPLE_$(1)) && $(AbsTopSourceDir)/configure \
263+ (cd $(BuildPath)/$(ABI_CONFIG_TUPLE_$(1)) && $(AbsTopSourceDir)/configure -C \
263264CPP="$(CPP)" CC="$(CC)" CXX="$(CXX)" OBJC="$(OBJC)" OBJCXX="$(OBJCXX)" AR="$(AR)" RANLIB="$(RANLIB)" NM="$(NM)" STRIP="$(STRIP)" \
264265INSTALL="$(INSTALL) $(INSTALLFLAGS)" \
265266CPPFLAGS="$(CPPFLAGS)" \
Original file line number Diff line number Diff line change 11#
2+ # Copyright (c) Project openweave-core Authors
23# Copyright (c) 2014-2017 Nest Labs, Inc.
34# All rights reserved.
45#
@@ -319,7 +320,7 @@ AMFILES = src/system/SystemLayer.am \
319320#
320321define configure-target
321322$(ECHO) " CONFIG $(1)..."
322- (cd $(BuildPath)/$(1) && $(AbsTopSourceDir)/configure \
323+ (cd $(BuildPath)/$(1) && $(AbsTopSourceDir)/configure -C \
323324INSTALL="$(INSTALL) $(INSTALLFLAGS)" \
324325--prefix=/ \
325326--exec-prefix=/$(1) \
Original file line number Diff line number Diff line change 11#
2+ # Copyright (c) Project openweave-core Authors
23# Copyright (c) 2014-2017 Nest Labs, Inc.
34# All rights reserved.
45#
@@ -279,7 +280,7 @@ AMFILES = src/system/SystemLayer.am \
279280#
280281define configure-arch
281282$(ECHO) " CONFIG $(1)-$(TargetTuple)..."
282- (cd $(BuildPath)/$(1)-$(TargetTuple) && $(AbsTopSourceDir)/configure \
283+ (cd $(BuildPath)/$(1)-$(TargetTuple) && $(AbsTopSourceDir)/configure -C \
283284CPP="$(CPP)" CC="$(CC)" CXX="$(CXX)" OBJC="$(OBJC)" OBJCXX="$(OBJCXX)" AR="$(AR)" RANLIB="$(RANLIB)" NM="$(NM)" STRIP="$(STRIP)" \
284285INSTALL="$(INSTALL) $(INSTALLFLAGS)" \
285286CPPFLAGS="$(CPPFLAGS)" \
Original file line number Diff line number Diff line change 11#
2+ # Copyright (c) Project openweave-core Authors
23# Copyright (c) 2019 Google LLC.
34# All rights reserved.
45#
@@ -197,7 +198,7 @@ define OpenWeaveBuildRules
197198.PHONY : config-weave .check-config-weave build-weave install-weave clean-weave
198199
199200.check-config-weave : | $(OPENWEAVE_OUTPUT_DIR )
200- $(NO_ECHO ) echo $(OPENWEAVE_ROOT ) /configure $(OPENWEAVE_CONFIGURE_OPTIONS ) > $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp; \
201+ $(NO_ECHO ) echo $(OPENWEAVE_ROOT ) /configure -C $(OPENWEAVE_CONFIGURE_OPTIONS ) > $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp; \
201202 (test -r $(OPENWEAVE_OUTPUT_DIR ) /config.args && cmp -s $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp $(OPENWEAVE_OUTPUT_DIR ) /config.args) || \
202203 mv $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp $(OPENWEAVE_OUTPUT_DIR ) /config.args; \
203204 rm -f $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp;
@@ -211,7 +212,7 @@ $(OPENWEAVE_ROOT)/configure : $(OPENWEAVE_ROOT)/configure.ac
211212
212213$(OPENWEAVE_OUTPUT_DIR ) /config.status : $(OPENWEAVE_ROOT ) /configure $(OPENWEAVE_OUTPUT_DIR ) /config.args
213214 @echo "$(HDR_PREFIX ) CONFIGURE OPENWEAVE..."
214- $(NO_ECHO ) (cd $(OPENWEAVE_OUTPUT_DIR ) && $(OPENWEAVE_ROOT ) /configure $(OPENWEAVE_CONFIGURE_OPTIONS ) )
215+ $(NO_ECHO ) (cd $(OPENWEAVE_OUTPUT_DIR ) && $(OPENWEAVE_ROOT ) /configure -C $(OPENWEAVE_CONFIGURE_OPTIONS ) )
215216
216217config-weave : $(OPENWEAVE_OUTPUT_DIR ) /config.status | $(OPENTHREAD_PREREQUISITE )
217218
Original file line number Diff line number Diff line change 11#
2+ # Copyright (c) Project openweave-core Authors
23# Copyright (c) 2018 Nest Labs, Inc.
34# All rights reserved.
45#
@@ -144,7 +145,7 @@ COMPONENT_OWNCLEANTARGET = 1
144145
145146.PHONY : check-config-args-updated
146147check-config-args-updated : | $(OUTPUT_DIR )
147- echo $(OPENWEAVE_ROOT ) /configure $(CONFIGURE_OPTIONS ) > $(OUTPUT_DIR ) /config.args.tmp; \
148+ echo $(OPENWEAVE_ROOT ) /configure -C $(CONFIGURE_OPTIONS ) > $(OUTPUT_DIR ) /config.args.tmp; \
148149 (test -r $( OUTPUT_DIR) /config.args && cmp -s $( OUTPUT_DIR) /config.args.tmp $( OUTPUT_DIR) /config.args) || \
149150 mv $(OUTPUT_DIR ) /config.args.tmp $(OUTPUT_DIR ) /config.args; \
150151 rm -f $(OUTPUT_DIR ) /config.args.tmp;
@@ -158,7 +159,7 @@ $(OPENWEAVE_ROOT)/configure : $(OPENWEAVE_ROOT)/configure.ac
158159
159160$(OUTPUT_DIR ) /config.status : $(OPENWEAVE_ROOT ) /configure $(OUTPUT_DIR ) /config.args
160161 echo " CONFIGURE OPENWEAVE..."
161- (cd $( OUTPUT_DIR) && $( OPENWEAVE_ROOT) /configure $( CONFIGURE_OPTIONS) )
162+ (cd $( OUTPUT_DIR) && $( OPENWEAVE_ROOT) /configure -C $( CONFIGURE_OPTIONS) )
162163
163164configure-weave : $(OUTPUT_DIR ) /config.status
164165
Original file line number Diff line number Diff line change 11#
2+ # Copyright (c) Project openweave-core Authors
23# Copyright (c) 2019 Google LLC.
34# All rights reserved.
45#
@@ -186,7 +187,7 @@ define OpenWeaveBuildRules
186187.PHONY : config-weave .check-config-weave build-weave install-weave clean-weave
187188
188189.check-config-weave : | $(OPENWEAVE_OUTPUT_DIR )
189- $(NO_ECHO ) echo $(OPENWEAVE_ROOT ) /configure $(OPENWEAVE_CONFIGURE_OPTIONS ) > $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp; \
190+ $(NO_ECHO ) echo $(OPENWEAVE_ROOT ) /configure -C $(OPENWEAVE_CONFIGURE_OPTIONS ) > $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp; \
190191 (test -r $(OPENWEAVE_OUTPUT_DIR ) /config.args && cmp -s $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp $(OPENWEAVE_OUTPUT_DIR ) /config.args) || \
191192 mv $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp $(OPENWEAVE_OUTPUT_DIR ) /config.args; \
192193 rm -f $(OPENWEAVE_OUTPUT_DIR ) /config.args.tmp;
@@ -200,7 +201,7 @@ $(OPENWEAVE_ROOT)/configure : $(OPENWEAVE_ROOT)/configure.ac
200201
201202$(OPENWEAVE_OUTPUT_DIR ) /config.status : $(OPENWEAVE_ROOT ) /configure $(OPENWEAVE_OUTPUT_DIR ) /config.args
202203 @echo "$(HDR_PREFIX ) CONFIGURE OPENWEAVE..."
203- $(NO_ECHO ) (cd $(OPENWEAVE_OUTPUT_DIR ) && $(OPENWEAVE_ROOT ) /configure $(OPENWEAVE_CONFIGURE_OPTIONS ) )
204+ $(NO_ECHO ) (cd $(OPENWEAVE_OUTPUT_DIR ) && $(OPENWEAVE_ROOT ) /configure -C $(OPENWEAVE_CONFIGURE_OPTIONS ) )
204205
205206config-weave : $(OPENWEAVE_OUTPUT_DIR ) /config.status | $(OPENTHREAD_PREREQUISITE )
206207
You can’t perform that action at this time.
0 commit comments