mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.m@jp.panasonic.com>
To: barebox@lists.infradead.org
Subject: [PATCH 4/5] kbuild: simplify CLEAN_FILES with pattern "barebox*"
Date: Thu, 29 Jan 2015 11:27:55 +0900	[thread overview]
Message-ID: <1422498476-28986-5-git-send-email-yamada.m@jp.panasonic.com> (raw)
In-Reply-To: <1422498476-28986-1-git-send-email-yamada.m@jp.panasonic.com>

There is no source file prefixed "barebox" at the top directory.
Generated files there can be simply cleaned up "barebox*" pattern.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 Makefile | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index 90a7eee..b5c6c91 100644
--- a/Makefile
+++ b/Makefile
@@ -951,13 +951,10 @@ endif # CONFIG_MODULES
 
 # Directories & files removed with 'make clean'
 CLEAN_DIRS  += $(MODVERDIR)
-CLEAN_FILES +=	barebox System.map include/generated/barebox_default_env.h \
-                .tmp_version .tmp_barebox* barebox.bin barebox.map barebox.S \
-		.tmp_kallsyms* common/barebox_default_env* barebox.ldr \
-		scripts/bareboxenv-target barebox-flash-image \
-		barebox.srec barebox.s5p barebox.ubl barebox.zynq \
-		barebox.uimage barebox.spi barebox.kwb barebox.kwbuart \
-		barebox.efi barebox.canon-a1100.bin
+CLEAN_FILES +=	barebox* System.map include/generated/barebox_default_env.h \
+                .tmp_version .tmp_barebox* \
+		.tmp_kallsyms* common/barebox_default_env* \
+		scripts/bareboxenv-target
 
 # Directories & files removed with 'make mrproper'
 MRPROPER_DIRS  += include/config usr/include include/generated
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2015-01-29  2:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29  2:27 [PATCH 0/5] Refactor .gitignore and Makefile Masahiro Yamada
2015-01-29  2:27 ` [PATCH 1/5] gitignore: simplify .gitignore file with pattern "/barebox*" Masahiro Yamada
2015-01-29  2:27 ` [PATCH 2/5] gitignore: move "barebox_default_env*" to subdirectory Masahiro Yamada
2015-01-29  2:27 ` [PATCH 3/5] gitignore: sync with Linux's .gitignore Masahiro Yamada
2015-01-29  2:27 ` Masahiro Yamada [this message]
2015-01-29  8:42   ` [PATCH 4/5] kbuild: simplify CLEAN_FILES with pattern "barebox*" Sascha Hauer
2015-01-29  2:27 ` [PATCH 5/5] kbuild: drop bogus "common/barebox_default_env*" from CLEAN_FILES Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1422498476-28986-5-git-send-email-yamada.m@jp.panasonic.com \
    --to=yamada.m@jp.panasonic.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox