All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Makefile: drop mention of *.cfgtmp
@ 2018-06-18  3:57 Baruch Siach
  2018-06-20 17:51 ` Trent Piepho
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2018-06-18  3:57 UTC (permalink / raw)
  To: u-boot

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@impinj.com>
Signed-off-by: Baruch Siach <baruch@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] Makefile: drop mention of *.cfgtmp
  2018-06-18  3:57 [U-Boot] [PATCH] Makefile: drop mention of *.cfgtmp Baruch Siach
@ 2018-06-20 17:51 ` Trent Piepho
  2018-06-20 18:01   ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Trent Piepho @ 2018-06-20 17:51 UTC (permalink / raw)
  To: u-boot

On Mon, 2018-06-18 at 06:57 +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.
> 
> Remove also the .gitignore glob.

I didn't think of the gitignore file when I did that patch.  While I
did stop generating .cfgtmp files, I replaced them with .cfgout files. 
So the gitignore patch should really be a s/cfgtmp/cfgout/ I think.

It shouldn't be necessary to add *.cfgout to the find command since
they are added to the target list and cleaned that way.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] Makefile: drop mention of *.cfgtmp
  2018-06-20 17:51 ` Trent Piepho
@ 2018-06-20 18:01   ` Baruch Siach
  0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2018-06-20 18:01 UTC (permalink / raw)
  To: u-boot

Hi Trent,

On Wed, Jun 20, 2018 at 05:51:28PM +0000, Trent Piepho wrote:
> On Mon, 2018-06-18 at 06:57 +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.
> > 
> > Remove also the .gitignore glob.
> 
> I didn't think of the gitignore file when I did that patch.  While I
> did stop generating .cfgtmp files, I replaced them with .cfgout files. 
> So the gitignore patch should really be a s/cfgtmp/cfgout/ I think.
> 
> It shouldn't be necessary to add *.cfgout to the find command since
> they are added to the target list and cleaned that way.

Thanks for reviewing.

I only build U-Boot with SPL that uses .cfgout from the spl/ directory which 
is in .gitignore already. But standalone .imx images use .cfgout from the 
top-level directory. So a *.cfgout in .gitignore is indeed needed.

I'll update and resubmit.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-20 18:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18  3:57 [U-Boot] [PATCH] Makefile: drop mention of *.cfgtmp Baruch Siach
2018-06-20 17:51 ` Trent Piepho
2018-06-20 18:01   ` Baruch Siach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.