[U-Boot] [PATCH] Makefile: drop mention of *.cfgtmp

Baruch Siach baruch at tkos.co.il
Mon Jun 18 03:57:41 UTC 2018


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.

Remove also the .gitignore glob.

Cc: Trent Piepho <tpiepho at impinj.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 .gitignore | 1 -
 Makefile   | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 9110eda6468f..f97838a756a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,7 +20,6 @@
 *.swp
 *.bin
 *.patch
-*.cfgtmp
 *.tab.[ch]
 
 # host programs on Cygwin
diff --git a/Makefile b/Makefile
index 6a190e7a894b..61ef84576afa 100644
--- a/Makefile
+++ b/Makefile
@@ -1613,13 +1613,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' \
-- 
2.17.1



More information about the U-Boot mailing list