[PATCH] kbuild: fix make V=1

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Mike Frysinger <vapier@...>
Date: Monday, February 11, 2008 - 12:47 pm

On Mon, Feb 11, 2008 at 02:31:37PM +0100, Sam Ravnborg wrote:

Mike spotted another missing thing from his initial
patch so I folded it into the fix and pushed out
a new kbuild.git tree.

See updated patch below.

	Sam

From 49af821e4b1c07e756cbc2e389eba9d885912602 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <sam@ravnborg.org>
Date: Mon, 11 Feb 2008 14:26:26 +0100
Subject: [PATCH] kbuild: fix make V=1

When make -s support were added to filechk to
combination created with make V=1 were not
covered.
Fix it by explicitly cover this case too.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Mike Frysinger <vapier@gentoo.org>
---
 scripts/Kbuild.include |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/init/Makefile b/init/Makefile
index c5f157c..4a243df 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -27,6 +27,7 @@ $(obj)/version.o: include/linux/compile.h
 # mkcompile_h will make sure to only update the
 # actual file if its content has changed.
 
+       chk_compile.h = :
  quiet_chk_compile.h = echo '  CHK     $@'
 silent_chk_compile.h = :
 include/linux/compile.h: FORCE
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index da3559e..d64e6ba 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -39,10 +39,13 @@ escsq = $(subst $(squote),'\$(squote)',$1)
 # - If they are equal no change, and no timestamp update
 # - stdin is piped in from the first prerequisite ($<) so one has
 #   to specify a valid file as first prerequisite (often the kbuild file)
+       chk_filechk = :
  quiet_chk_filechk = echo '  CHK     $@'
 silent_chk_filechk = :
+       upd_filechk = :
  quiet_upd_filechk = echo '  UPD     $@'
 silent_upd_filechk = :
+
 define filechk
 	$(Q)set -e;				\
 	$($(quiet)chk_filechk);			\
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux 2.6.25-rc1, Linus Torvalds, (Sun Feb 10, 8:44 pm)
[ata crash] Re: Linux 2.6.25-rc1, Ingo Molnar, (Tue Feb 12, 4:18 am)
Re: [ata crash] Re: Linux 2.6.25-rc1, Tejun Heo, (Wed Feb 13, 5:51 am)
Re: [ata crash] Re: Linux 2.6.25-rc1, Tejun Heo, (Wed Feb 20, 10:33 pm)
Re: [ata crash] Re: Linux 2.6.25-rc1, Ingo Molnar, (Thu Feb 21, 3:12 am)
Re: [ata crash] Re: Linux 2.6.25-rc1, Arjan van de Ven, (Tue Feb 12, 11:14 am)
Re: [ata crash] Re: Linux 2.6.25-rc1, Ingo Molnar, (Wed Feb 13, 5:01 am)
Re: Linux 2.6.25-rc1, Torsten Kaiser, (Mon Feb 11, 5:46 pm)
Re: Linux 2.6.25-rc1, Andrew Morton, (Mon Feb 11, 6:15 pm)
Re: Linux 2.6.25-rc1, Torsten Kaiser, (Wed Feb 13, 3:17 pm)
Re: Linux 2.6.25-rc1, Stefan Richter, (Mon Feb 11, 6:48 pm)
Re: Linux 2.6.25-rc1, Sam Ravnborg, (Mon Feb 11, 9:31 am)
[PATCH] kbuild: fix make V=1, Sam Ravnborg, (Mon Feb 11, 12:47 pm)
Re: [PATCH] kbuild: fix make V=1, Oleg Verych, (Mon Feb 11, 7:38 pm)
Re: [PATCH] kbuild: fix make V=1, Sam Ravnborg, (Tue Feb 12, 4:56 am)
Re: [PATCH] kbuild: fix make V=1, Oleg Verych, (Tue Feb 12, 5:25 am)
Re: [PATCH] kbuild: fix make V=1, Sam Ravnborg, (Tue Feb 12, 4:01 pm)
Re: [PATCH] kbuild: fix make V=1, Mike Frysinger, (Tue Feb 12, 11:07 am)
Re: [PATCH] kbuild: fix make V=1, Oleg Verych, (Tue Feb 12, 11:49 am)
Re: [PATCH] kbuild: fix make V=1, Mike Frysinger, (Tue Feb 12, 12:18 pm)
Re: [PATCH] kbuild: fix make V=1, Oleg Verych, (Tue Feb 12, 12:42 pm)
Re: Linux 2.6.25-rc1, Mike Frysinger, (Mon Feb 11, 12:17 pm)
parisc - error: 'VMALLOC_START' undeclared..., Domenico Andreoli, (Mon Feb 11, 7:19 am)
Re: parisc - error: 'VMALLOC_START' undeclared..., Adrian Bunk, (Mon Feb 11, 8:06 am)
Re: Linux 2.6.25-rc1, Brice Goglin, (Mon Feb 11, 3:39 am)
Re: Linux 2.6.25-rc1, Arjan van de Ven, (Mon Feb 11, 11:16 am)
Re: Linux 2.6.25-rc1, Gene Heskett, (Sun Feb 10, 11:14 pm)
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;', Mr. James W. Laferriere, (Sun Feb 10, 9:47 pm)
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;', Mr. James W. Laferriere, (Mon Feb 11, 11:37 pm)
Re: Linux 2.6.25-rc1, Sergio Luis, (Sun Feb 10, 9:36 pm)