summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-06-21 09:03:00 +0300
committerTom Rini <trini@konsulko.com>2018-07-10 16:56:00 -0400
commit421be6fca5cbe0d9dd3a10467529eed53528c258 (patch)
tree77f43f89bcfeba515f48f7793ea226f772c822f4
parent795f452eeff157b994a783d78d00e0108463b993 (diff)
Makefile: drop mention of *.cfgtmp
Since commit f916757300 (imx: Create distinct pre-processed mkimage config files), *.cfgtmp files are no longer generated. There is no need to remove them on the 'clean' target anymore. Rename the .gitignore glob to *.cfgout. Cc: Trent Piepho <tpiepho@impinj.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
-rw-r--r--.gitignore2
-rw-r--r--Makefile3
2 files changed, 2 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 6bb0adefa7..8d18d6f49b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,7 +8,7 @@
.*
*.a
*.bin
-*.cfgtmp
+*.cfgout
*.dtb
*.dtb.S
*.elf
diff --git a/Makefile b/Makefile
index 3516671320..4b3023b259 100644
--- a/Makefile
+++ b/Makefile
@@ -1609,13 +1609,12 @@ PHONY += $(clean-dirs) clean archclean
$(clean-dirs):
$(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
-# TODO: Do not use *.cfgtmp
clean: $(clean-dirs)
$(call cmd,rmdirs)
$(call cmd,rmfiles)
@find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
- -o -name '*.ko.*' -o -name '*.su' -o -name '*.cfgtmp' \
+ -o -name '*.ko.*' -o -name '*.su' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
-o -name '*.lex.c' -o -name '*.tab.[ch]' \
-o -name '*.symtypes' -o -name 'modules.order' \