mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Merge pull request #3567 from brucesdad13/target-alienwhoop
SKIP_TARGET for make clean_all
This commit is contained in:
commit
657c88c767
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -1369,7 +1369,11 @@ clean_test:
|
|||
|
||||
## clean_<TARGET> : clean up one specific target
|
||||
$(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)
|
||||
$(TARGETS_CLEAN) :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue