From: Peter Samuelson <peter@cadcamlab.org>
To: xavier.bestel@free.fr, linux-kernel@vger.kernel.org
Subject: Re: RfC: Don't cd into subdirs during kbuild
Date: Thu, 3 Oct 2002 15:41:41 -0500 [thread overview]
Message-ID: <20021003204141.GQ1536@cadcamlab.org> (raw)
In-Reply-To: <1033633277.27227.2.camel@nomade>
[Xavier Bestel]
> > make -f subdir/Makefile
>
> Could you do instead:
>
> include subdir/Makefile
> ?
Unfortunately, no. Not without changing the entire architecture of
the kernel build system. The current system depends on each Makefile
maintaining an independent state (think "stack frame") by means of a
lot of local variables. These variables have standard names and
functions, so you can't flatten the recursion without clobbering them.
> This would avoid recursive make, which isn't really a good idea
> (even if it's used widely).
Yes, we know recursive make is considered harmful - that's why Keith
Owens designed a nonrecursive solution last year. (And quite a nice
piece of work it was, too.) But to achieve his solution he basically
redesigned the whole system from scratch. Pretty much the *only*
thing kbuild2.5 has in common with current kbuild is a minimal set of
functional requirements.
Peter
next prev parent reply other threads:[~2002-10-03 20:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-03 2:59 Kai Germaschewski
2002-10-03 3:32 ` Andreas Dilger
2002-10-03 5:18 ` [kbuild-devel] " Peter Samuelson
2002-10-03 14:54 ` Kai Germaschewski
2002-10-03 8:21 ` Xavier Bestel
2002-10-03 14:56 ` Kai Germaschewski
2002-10-03 15:31 ` Xavier Bestel
2002-10-03 20:41 ` Peter Samuelson [this message]
2002-10-03 14:05 ` John Levon
2002-10-03 14:27 ` Kai Germaschewski
2002-10-03 14:45 ` John Levon
2002-10-03 19:26 ` Sam Ravnborg
2002-10-03 19:33 ` [kbuild-devel] " Sam Ravnborg
2002-10-03 20:01 ` Sam Ravnborg
2002-10-03 20:19 ` Kai Germaschewski
2002-10-03 20:44 ` Sam Ravnborg
2002-10-03 20:20 ` Peter Samuelson
2002-10-03 20:30 ` Sam Ravnborg
2002-10-03 20:38 ` Kai Germaschewski
2002-10-03 20:50 ` Sam Ravnborg
2002-10-04 19:07 ` Sam Ravnborg
2002-10-04 20:17 ` Sam Ravnborg
2002-10-09 0:45 ` [kbuild-devel] " Brendan J Simon
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=20021003204141.GQ1536@cadcamlab.org \
--to=peter@cadcamlab.org \
--cc=linux-kernel@vger.kernel.org \
--cc=xavier.bestel@free.fr \
/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®