mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] kbuild: trivial fixes of "make mrproper"
@ 2015-01-08  7:25 Masahiro Yamada
  2015-01-08  7:25 ` [PATCH 1/2] kbuild: delete include/generated directory by " Masahiro Yamada
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Masahiro Yamada @ 2015-01-08  7:25 UTC (permalink / raw)
  To: barebox




Masahiro Yamada (2):
  kbuild: delete include/generated directory by "make mrproper"
  kbuild: drop include/asm from MRPROPER_FILES

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

-- 
1.9.1


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

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

* [PATCH 1/2] kbuild: delete include/generated directory by "make mrproper"
  2015-01-08  7:25 [PATCH 0/2] kbuild: trivial fixes of "make mrproper" Masahiro Yamada
@ 2015-01-08  7:25 ` Masahiro Yamada
  2015-01-08  7:25 ` [PATCH 2/2] kbuild: drop include/asm from MRPROPER_FILES Masahiro Yamada
  2015-01-08 13:41 ` [PATCH 0/2] kbuild: trivial fixes of "make mrproper" Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2015-01-08  7:25 UTC (permalink / raw)
  To: barebox

Otherwise, "make mrproper" misses to delete some generated files
such as include/generated/compile.h.

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

 Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 92889b3..5f73a47 100644
--- a/Makefile
+++ b/Makefile
@@ -960,10 +960,9 @@ CLEAN_FILES +=	barebox System.map include/generated/barebox_default_env.h \
 		barebox.efi barebox.canon-a1100.bin
 
 # Directories & files removed with 'make mrproper'
-MRPROPER_DIRS  += include/config usr/include
+MRPROPER_DIRS  += include/config usr/include include/generated
 MRPROPER_FILES += .config .config.old include/asm .version .old_version \
-                  include/generated/autoconf.h include/generated/version.h      \
-                  include/generated/utsrelease.h include/config.h           \
+                  include/config.h           \
 		  Module.symvers tags TAGS cscope*
 
 # clean - Delete most, but leave enough to build external modules
-- 
1.9.1


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

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

* [PATCH 2/2] kbuild: drop include/asm from MRPROPER_FILES
  2015-01-08  7:25 [PATCH 0/2] kbuild: trivial fixes of "make mrproper" Masahiro Yamada
  2015-01-08  7:25 ` [PATCH 1/2] kbuild: delete include/generated directory by " Masahiro Yamada
@ 2015-01-08  7:25 ` Masahiro Yamada
  2015-01-08 13:41 ` [PATCH 0/2] kbuild: trivial fixes of "make mrproper" Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2015-01-08  7:25 UTC (permalink / raw)
  To: barebox

Since commit a1a9665113e4 (kbuild: do not create symbolic link
include/asm), the symbolic link include/asm is not created.

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

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5f73a47..9606765 100644
--- a/Makefile
+++ b/Makefile
@@ -961,7 +961,7 @@ CLEAN_FILES +=	barebox System.map include/generated/barebox_default_env.h \
 
 # Directories & files removed with 'make mrproper'
 MRPROPER_DIRS  += include/config usr/include include/generated
-MRPROPER_FILES += .config .config.old include/asm .version .old_version \
+MRPROPER_FILES += .config .config.old .version .old_version \
                   include/config.h           \
 		  Module.symvers tags TAGS cscope*
 
-- 
1.9.1


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

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

* Re: [PATCH 0/2] kbuild: trivial fixes of "make mrproper"
  2015-01-08  7:25 [PATCH 0/2] kbuild: trivial fixes of "make mrproper" Masahiro Yamada
  2015-01-08  7:25 ` [PATCH 1/2] kbuild: delete include/generated directory by " Masahiro Yamada
  2015-01-08  7:25 ` [PATCH 2/2] kbuild: drop include/asm from MRPROPER_FILES Masahiro Yamada
@ 2015-01-08 13:41 ` Sascha Hauer
  2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2015-01-08 13:41 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: barebox

On Thu, Jan 08, 2015 at 04:25:23PM +0900, Masahiro Yamada wrote:
> 
> 
> 
> Masahiro Yamada (2):
>   kbuild: delete include/generated directory by "make mrproper"
>   kbuild: drop include/asm from MRPROPER_FILES
> 
>  Makefile | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

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

end of thread, other threads:[~2015-01-08 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08  7:25 [PATCH 0/2] kbuild: trivial fixes of "make mrproper" Masahiro Yamada
2015-01-08  7:25 ` [PATCH 1/2] kbuild: delete include/generated directory by " Masahiro Yamada
2015-01-08  7:25 ` [PATCH 2/2] kbuild: drop include/asm from MRPROPER_FILES Masahiro Yamada
2015-01-08 13:41 ` [PATCH 0/2] kbuild: trivial fixes of "make mrproper" Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox