diff mbox series

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

Message ID 55180f8b0952e0f585a90cc9942f6b7ccc042e59.1529560980.git.baruch@tkos.co.il
State Accepted
Commit 421be6fca5cbe0d9dd3a10467529eed53528c258
Delegated to: Tom Rini
Headers show
Series [U-Boot,v2] Makefile: drop mention of *.cfgtmp | expand

Commit Message

Baruch Siach June 21, 2018, 6:03 a.m. UTC
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>
---
v2: Rename the .gitignore pattern to *.cfgout (Trent)
---
 .gitignore | 2 +-
 Makefile   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

Comments

Tom Rini July 11, 2018, 12:43 p.m. UTC | #1
On Thu, Jun 21, 2018 at 09:03:00AM +0300, Baruch Siach wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/.gitignore b/.gitignore
index 6bb0adefa7b2..8d18d6f49bcb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,7 +8,7 @@ 
 .*
 *.a
 *.bin
-*.cfgtmp
+*.cfgout
 *.dtb
 *.dtb.S
 *.elf
diff --git a/Makefile b/Makefile
index fe7bf11970b8..855f7a8489b8 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' \