1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

Merge pull request #3567 from brucesdad13/target-alienwhoop

SKIP_TARGET for make clean_all
This commit is contained in:
Martin Budden 2017-07-20 05:58:01 +01:00 committed by GitHub
commit 657c88c767

View file

@ -1369,7 +1369,11 @@ clean_test:
## clean_<TARGET> : clean up one specific target ## clean_<TARGET> : clean up one specific target
$(CLEAN_TARGETS) : $(CLEAN_TARGETS) :
$(V0) $(MAKE) -j TARGET=$(subst clean_,,$@) clean $(V0) $(if $(findstring $(subst clean_,,$@),$(SKIP_TARGETS)), \
@echo "" && \
echo "Not cleaning $(subst clean_,,$@) since it is listed in SKIP_TARGETS.", \
@echo "" && \
$(V0) $(MAKE) -j TARGET=$(subst clean_,,$@) clean)
## <TARGET>_clean : clean up one specific target (alias for above) ## <TARGET>_clean : clean up one specific target (alias for above)
$(TARGETS_CLEAN) : $(TARGETS_CLEAN) :