We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 817e039 commit cd6a203Copy full SHA for cd6a203
make/InitSupport.gmk
@@ -204,6 +204,15 @@ ifeq ($(HAS_SPEC),)
204
# Otherwise select those that contain the given CONF string
205
matching_confs := $$(strip $$(foreach var, $$(all_confs), \
206
$$(if $$(findstring $$(CONF), $$(var)), $$(var))))
207
+ ifneq ($$(filter $$(CONF), $$(matching_confs)), )
208
+ # If we found an exact match, use that
209
+ matching_confs := $$(CONF)
210
+ # Don't repeat this output on make restarts caused by including
211
+ # generated files.
212
+ ifeq ($$(MAKE_RESTARTS),)
213
+ $$(info Using exact match for CONF=$$(CONF) (other matches are possible))
214
+ endif
215
216
endif
217
ifeq ($$(matching_confs),)
218
$$(info Error: No configurations found matching CONF=$$(CONF).)
0 commit comments