mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kbuild: Smart notation for non-verbose output
@ 2003-03-03 21:51 Sam Ravnborg
  2003-03-03 21:52 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Ravnborg @ 2003-03-03 21:51 UTC (permalink / raw)
  To: Kai Germaschewski; +Cc: linux-kernel

Hi Kai.

Create a nice shorthand to enable the non-verbose output mode.
make V=1	=> Gives verbose output (default)
make V=0	=> Gives non-verbose output

One of the reasons why people does not use KBUILD_VERBOSE=0 that
much is simply the typing needed.
This notation should make it acceptable to type it.
The usage of "make V=0" is restricted to the command line.
Anyone that wants to enable the non-verbose mode pr. default shall
set KBUILD_VERBOSE in the shell.

	Sam

===== Makefile 1.391 vs edited =====
--- 1.391/Makefile	Mon Mar  3 05:55:31 2003
+++ edited/Makefile	Mon Mar  3 22:49:14 2003
@@ -107,6 +107,11 @@
 
 #	For now, leave verbose as default
 
+ifdef V
+  ifeq ("$(origin V)", "command line")
+    KBUILD_VERBOSE = $(V)
+  endif
+endif
 ifndef KBUILD_VERBOSE
   KBUILD_VERBOSE = 1
 endif

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

* Re: [PATCH] kbuild: Smart notation for non-verbose output
  2003-03-03 21:51 [PATCH] kbuild: Smart notation for non-verbose output Sam Ravnborg
@ 2003-03-03 21:52 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-03-03 21:52 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: kai, linux-kernel

On Mon, 3 Mar 2003 22:51:12 +0100
Sam Ravnborg <sam@ravnborg.org> wrote:

| Hi Kai.
| 
| Create a nice shorthand to enable the non-verbose output mode.
| make V=1	=> Gives verbose output (default)
| make V=0	=> Gives non-verbose output
| 
| One of the reasons why people does not use KBUILD_VERBOSE=0 that
| much is simply the typing needed.
| This notation should make it acceptable to type it.
| The usage of "make V=0" is restricted to the command line.
| Anyone that wants to enable the non-verbose mode pr. default shall
| set KBUILD_VERBOSE in the shell.

Nice.  Thank you.

--
~Randy

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

end of thread, other threads:[~2003-03-03 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-03 21:51 [PATCH] kbuild: Smart notation for non-verbose output Sam Ravnborg
2003-03-03 21:52 ` Randy.Dunlap

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

all inboxes | Powered by JetHome®