Inverted when the SKIP_TARGET warning is being shown.
This commit is contained in:
parent
903c168be6
commit
9e73acf73b
9
Makefile
9
Makefile
|
@ -97,7 +97,6 @@ VALID_TARGETS = $(dir $(wildcard $(ROOT)/src/main/target/*/target.mk))
|
||||||
VALID_TARGETS := $(subst /,, $(subst ./src/main/target/,, $(VALID_TARGETS)))
|
VALID_TARGETS := $(subst /,, $(subst ./src/main/target/,, $(VALID_TARGETS)))
|
||||||
VALID_TARGETS := $(VALID_TARGETS) $(ALT_TARGETS)
|
VALID_TARGETS := $(VALID_TARGETS) $(ALT_TARGETS)
|
||||||
VALID_TARGETS := $(sort $(VALID_TARGETS))
|
VALID_TARGETS := $(sort $(VALID_TARGETS))
|
||||||
VALID_TARGETS := $(filter-out $(SKIP_TARGETS), $(VALID_TARGETS))
|
|
||||||
|
|
||||||
GROUP_1_TARGETS := \
|
GROUP_1_TARGETS := \
|
||||||
AFROMINI \
|
AFROMINI \
|
||||||
|
@ -1342,11 +1341,13 @@ targets-group-rest: $(GROUP_OTHER_TARGETS)
|
||||||
|
|
||||||
|
|
||||||
$(VALID_TARGETS):
|
$(VALID_TARGETS):
|
||||||
$(V0) @echo "The following targets, listed in 'SKIP_TARGETS', will not be built:\r\n\t$(SKIP_TARGETS)"
|
$(V0) $(if $(findstring $@,$(SKIP_TARGETS)), \
|
||||||
$(V0) @echo "" && \
|
@echo "" && \
|
||||||
|
echo "Not building $@ since it is listed in SKIP_TARGETS.", \
|
||||||
|
@echo "" && \
|
||||||
echo "Building $@" && \
|
echo "Building $@" && \
|
||||||
time $(MAKE) binary hex TARGET=$@ && \
|
time $(MAKE) binary hex TARGET=$@ && \
|
||||||
echo "Building $@ succeeded."
|
echo "Building $@ succeeded.")
|
||||||
|
|
||||||
CLEAN_TARGETS = $(addprefix clean_,$(VALID_TARGETS) )
|
CLEAN_TARGETS = $(addprefix clean_,$(VALID_TARGETS) )
|
||||||
TARGETS_CLEAN = $(addsuffix _clean,$(VALID_TARGETS) )
|
TARGETS_CLEAN = $(addsuffix _clean,$(VALID_TARGETS) )
|
||||||
|
|
Loading…
Reference in New Issue