mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject: [PATCH] kbuild: Get more focus on warnings
Date: Sun, 25 May 2003 23:08:39 +0200	[thread overview]
Message-ID: <20030525210839.GA1704@mars.ravnborg.org> (raw)

The following patch put focus on warnings when compiling.

Kbuild has for a long period supported a quit mode.
The quit mode prints a single line for each file compiled,
thus warnings becomes much more visible.
Example:

  CC      kernel/uid16.o
  CC      kernel/ksyms.o
kernel/ksyms.c:441: warning: `__check_region' is deprecated (declared at include/linux/ioport.h:113)
  CC      kernel/module.o

The old output format can obtained like this:
	$ make V=1

or more permanent with the following assignment in .bashrc:
	KBUILD_VERBOSE=1

If one is concerned about warnings the output from a kernel
build is redirected to a file, or make -s is used.
The advantage of this patch is that the default settings puts focus
on warnings while still providing the user with feedback about the
build process.

Kai Germaschewski has done most of the initial work enabling this
feature, originally inspired from Keith Owens kbuild-2.5 patchset.

	Sam

             reply	other threads:[~2003-05-25 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-25 21:08 Sam Ravnborg [this message]
2003-05-25 21:22 ` Sam Ravnborg

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=20030525210839.GA1704@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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

all inboxes | Powered by JetHome®