[make] make the spotless target not depend on anything
This commit is contained in:
10
makefile
10
makefile
@@ -1,3 +1,8 @@
|
|||||||
|
ifeq ($(MAKECMDGOALS),spotless)
|
||||||
|
spotless:
|
||||||
|
rm -rf build-*
|
||||||
|
else
|
||||||
|
|
||||||
-include local.mk
|
-include local.mk
|
||||||
include make/macros.mk
|
include make/macros.mk
|
||||||
|
|
||||||
@@ -132,9 +137,6 @@ include make/build.mk
|
|||||||
clean: $(EXTRA_CLEANDEPS)
|
clean: $(EXTRA_CLEANDEPS)
|
||||||
rm -f $(ALLOBJS) $(DEPS) $(GENERATED) $(OUTBIN) $(OUTELF) $(OUTELF).lst
|
rm -f $(ALLOBJS) $(DEPS) $(GENERATED) $(OUTBIN) $(OUTELF) $(OUTELF).lst
|
||||||
|
|
||||||
spotless:
|
|
||||||
rm -rf build-*
|
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
scp $(OUTBIN) 192.168.0.4:/tftproot
|
scp $(OUTBIN) 192.168.0.4:/tftproot
|
||||||
|
|
||||||
@@ -171,3 +173,5 @@ endif
|
|||||||
|
|
||||||
.PHONY: configheader
|
.PHONY: configheader
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
endif # make spotless
|
||||||
|
|||||||
Reference in New Issue
Block a user