public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
	Anders Gustafsson <andersg@0x63.nu>,
	Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Linux 2.5.59
Date: Fri, 17 Jan 2003 21:07:40 +0100	[thread overview]
Message-ID: <20030117200740.GA9911@mars.ravnborg.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0301171035120.15056-100000@chaos.physics.uiowa.edu>

On Fri, Jan 17, 2003 at 10:36:54AM -0600, Kai Germaschewski wrote:
> > Isn't all of this in .depend?
> 
> In 2.5 things work differently, so no.

The longer answer, if you feel bored :-)

In 2.5 kbuild generate a file that list all dependencies:
.foo.o.cmd

This file is generated the first time the file is compiled, and contains
dependencies too all included files + all referred CONFIG_* options.

What to keep in mind is that make does NOT know the dependencies when run
the very first time. Thats because there is no need to generate the
.foo.o.cmd file when the .o file does not exist - make will build it no
matter what.
Therefore if foo.c depends on <linux/whatever.h> make will not
see this dependency, and gcc will complain.

Though - at the second run make will know the dependency and 'get' the file.

Kconfig files are special in the sense that we do not always check
the full dependency on them.
We have autoconf.h, config/MARKER and more magic involved here.

Since kconfig does not generate a .config.cmd when it fails to locate
a Kconfig file, it would not help to clean up this - with respect to
BK/CVS integration.

HTH,
	Sam - kbuild apprentice ;-)

  reply	other threads:[~2003-01-17 19:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17  4:06 Linux 2.5.59 Carl Gherardi
2003-01-17  4:08 ` Randy.Dunlap
2003-01-17  4:12 ` Kai Germaschewski
2003-01-17  4:16   ` Anders Gustafsson
2003-01-17  4:18     ` Larry McVoy
2003-01-17  4:24     ` Kai Germaschewski
2003-01-17 12:28       ` Geert Uytterhoeven
2003-01-17 16:36         ` Kai Germaschewski
2003-01-17 20:07           ` Sam Ravnborg [this message]
2003-01-17  4:17   ` Larry McVoy
2003-01-17  4:20     ` Anders Gustafsson
2003-01-17  4:25       ` Larry McVoy
2003-01-17  5:00         ` Michael D. Shannon
2003-01-17  4:41     ` Joshua Kwan
2003-01-17  9:30     ` David Woodhouse
2003-01-17  4:21 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2003-01-17  2:28 Linus Torvalds
2003-01-17  4:44 ` William Lee Irwin III
2003-01-17  7:15 ` Udo A. Steinberg
2003-01-17  7:30   ` Udo A. Steinberg
2003-01-17  9:59 ` Adrian Bunk
2003-01-17 10:23   ` Marc Zyngier
2003-01-17 11:37     ` Adrian Bunk
2003-01-17 16:55 ` John Cherry
2003-01-17 17:10   ` Russell King
2003-01-17 17:10   ` Martin J. Bligh
2003-01-18  4:03   ` Ernst Herzberg
2003-01-20  9:54 ` Christoph Hellwig

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=20030117200740.GA9911@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=andersg@0x63.nu \
    --cc=geert@linux-m68k.org \
    --cc=kai@tp1.ruhr-uni-bochum.de \
    --cc=linux-kernel@vger.kernel.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