mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Larry McVoy <lm@work.bitmover.com>,
	David Lang <dlang@diginsite.com>, Larry McVoy <lm@bitmover.com>,
	Patrick Mochel <mochel@osdl.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [bk patch] Make cardbus compile in -pre4
Date: Sun, 10 Feb 2002 11:02:29 -0700	[thread overview]
Message-ID: <20020210180229.GI872@opus.bloom.county> (raw)
In-Reply-To: <20020209090527.B13735@work.bitmover.com> <Pine.LNX.4.44.0202091258110.25220-100000@dlang.diginsite.com> <20020209134132.J13735@work.bitmover.com> <20020209163603.B9826@lynx.turbolabs.com> <20020209155258.E18734@work.bitmover.com>
In-Reply-To: <20020209155258.E18734@work.bitmover.com>

On Sat, Feb 09, 2002 at 03:52:58PM -0800, Larry McVoy wrote:
> On Sat, Feb 09, 2002 at 04:36:03PM -0700, Andreas Dilger wrote:
> > On Feb 09, 2002  13:41 -0800, Larry McVoy wrote:
> > > We don't, but we can, and we should.  "bk relink tree1 tree2" seems like 
> > > the right interface.
> > 
> > Yes, this would be great.  It should probably only do this for files in
> > SCCS and BitKeeper directories, because vim (for example) will do the
> 
> Correct.
> 
> > One thing that I've noticed (got my first linux-2.5 clone last night) is
> > that the kernel build process is somewhat broken by the fact that not
> > everything that you need to build is checked out of the repository by
> > make.
> > 
> > It appears to handle .c files ok, but it failed for all of the .h files.
> 
> This is because the dependencies are incorrect in the makefiles.  If you
> have correct dependencies in the makefiles, make will do the right thing.

Or more specifically, the 'dependancy' stage of the kernel knows
_nothing_ about SCCS.  It _might_ not be that hard to hack up the
scripts/mkdep.c program to check if an #include'd file exists (and if it
doesn't, if (any search patch)/SCCS exists, and if so, get it.

> One alternative would be to have a scripts/bk-get which takes as an arg
> the architecture[s] you want and gets the files that make sense for
> that architecture.  That would help somewhat.

If it's just a flat list of files, it'd be rather hellish to maintain
I'd think.  It _might_ not be too horrible to try and glean files from
CONFIG options (but isn't part of the point of the kernel's current dep
system to not depend on CONFIG_xxx options?) and assume all of include/
is needed.

Or kbuild-2.5 might just work since it does deps in a more 'correct'
manner.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

  parent reply	other threads:[~2002-02-10 18:03 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-09  2:25 Patrick Mochel
2002-02-09  3:39 ` Andreas Dilger
2002-02-09  4:02   ` Jeff Garzik
2002-02-09  7:29     ` Andreas Dilger
2002-02-09  7:41       ` Larry McVoy
2002-02-10  2:39       ` Jeff Garzik
2002-02-10  3:52       ` Linus Torvalds
2002-02-10  7:47       ` Andreas Dilger
2002-02-10 20:57         ` Linus Torvalds
2002-02-11 18:38           ` Andreas Dilger
2002-02-09  5:12   ` Larry McVoy
2002-02-09  5:32     ` Andrew Morton
2002-02-09  9:36       ` Rob Landley
2002-02-09  9:57         ` Momchil Velikov
2002-02-09 10:01           ` Alexander Viro
2002-02-09 18:09             ` Rob Landley
2002-02-09 15:08           ` Daniel Phillips
2002-02-10  4:07             ` Linus Torvalds
2002-02-09 10:14     ` David Lang
2002-02-09 15:54       ` Larry McVoy
2002-02-09 16:50         ` Tom Rini
2002-02-09 17:05           ` Larry McVoy
2002-02-09 21:01             ` David Lang
2002-02-09 21:41               ` Larry McVoy
2002-02-09 23:36                 ` Andreas Dilger
2002-02-09 23:45                   ` Tom Rini
2002-02-10  0:42                     ` Andreas Dilger
2002-02-09 23:52                   ` Larry McVoy
2002-02-10  4:13                     ` Linus Torvalds
2002-02-10 18:02                     ` Tom Rini [this message]
2002-02-10  5:25                 ` William Stearns
2002-02-11 17:30                   ` Padraig Brady
2002-02-13 11:59                     ` Padraig Brady
2002-02-09  9:27   ` pull vs push (was Re: [bk patch] Make cardbus compile in -pre4) Rob Landley
2002-02-09 10:08     ` Andreas Dilger
2002-02-09 18:12       ` Stelian Pop
2002-02-09 20:59         ` Linus Torvalds
2002-02-09 20:12           ` Stelian Pop
2002-02-09 20:26             ` Larry McVoy
2002-02-09 20:51               ` Stelian Pop
2002-02-09 23:45                 ` Jeff Garzik
2002-02-09 23:49                 ` Larry McVoy
2002-02-09 20:57               ` Pau Aliagas
2002-02-09 21:07                 ` David Lang
2002-02-09 21:13                   ` Pau Aliagas
2002-02-09 21:45               ` Rob Landley
2002-02-10  0:19               ` Andreas Dilger
2002-02-10  0:36               ` Herbert Xu
2002-02-10  0:54                 ` ssh primer (was Re: pull vs push (was Re: [bk patch] Make cardbus compile in -pre4)) Jeff Garzik
2002-02-10  0:59                   ` Herbert Xu
2002-02-10  1:24                     ` Jeff Garzik
2002-02-10  8:13                       ` Herbert Xu
2002-02-13 17:13                       ` Aaron Lehmann
2002-02-14  0:22                         ` Rob Landley
2002-02-14  6:57                           ` Aaron Lehmann
2002-02-14 11:00                           ` Harald Arnesen
2002-02-10  0:59                   ` Ben Pfaff
2002-02-10  1:14                   ` David Lang
2002-02-10  1:22                     ` ssh primer (was Re: pull vs push (was Re: [bk patch] Make cardbuscompile " Jeff Garzik
2002-02-10  2:46               ` pull vs push (was Re: [bk patch] Make cardbus compile in -pre4) Alan Cox
2002-02-11 11:51     ` Pavel Machek
2002-02-11 18:42       ` John Alvord
2002-02-09 11:44 ` [bk patch] Make cardbus compile in -pre4 Peter Osterlund
2002-02-10 20:12 Chris Adams

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=20020210180229.GI872@opus.bloom.county \
    --to=trini@kernel.crashing.org \
    --cc=dlang@diginsite.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm@bitmover.com \
    --cc=lm@work.bitmover.com \
    --cc=mochel@osdl.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

all inboxes | Powered by JetHome®