From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Giacomo Catenazzi <cate@debian.org>
Cc: andersen@codepoet.org, Roman Zippel <zippel@linux-m68k.org>,
linux-kernel@vger.kernel.org
Subject: Re: linux kernel config converter
Date: Thu, 21 Feb 2002 09:26:57 -0500 [thread overview]
Message-ID: <3C7503B1.E7CA83AA@mandrakesoft.com> (raw)
In-Reply-To: <fa.fsgrt4v.1bngh9t@ifi.uio.no> <fa.hp69onv.i7qtq3@ifi.uio.no> <3C74FF03.8070502@debian.org>
Giacomo Catenazzi wrote:
>
> Jeff Garzik wrote:
>
> > Erik Andersen wrote:
> >
> >>I like this. It's simple, its clean, and it keeps all the
> >>information in one spot. I think we can go a bit farther here
> >>and add in a list of the .c files that enabling this feature
> >>should add to the Makefile (per the current
> >> obj-$(CONFIG_FOO) += foo.o
> >>stuff in the current Makefile).
> >
> > Seriously, yep, that's exactly where we eventually want to be: all
> > config, makefile, and help text info in one place. To add a new net
> > driver, I want to be able to simply add two files, driver.c and
> > driver.conf, and be done with it.
>
> with kbuild-2.5 this can be done easy. We should maintain
> the syntax of kbuild-2.5 (or a subset).
>
> But the makefile/makefile.in will remain: not all code
> in kernel is drivers, and for the non drivers makefile/config.in
> IMHO it is better to have 'central' (per directory/per type)
> config and makefile files.
yes and no :)
We do not want to limit one-driver one-file, just support it.
And, makefile information needs to be included along with config
information. For a more realistic example, when I add a new net driver,
I would modify
drivers/net/new-driver.c
drivers/net/net-drivers.conf
and the second file includes the makefile rules necessary to build
things.
For directories like kernel/* and mm/* and arch/*, I imagine that down
the road we will want kernel.conf and mm.conf too, though right now they
would probably remain as makefiles...
If you look closely at the problem, you will see there is no fundamental
reason why we cannot package makefile rules like we want to package
config information.
Jeff
--
Jeff Garzik | "Why is it that attractive girls like you
Building 1024 | always seem to have a boyfriend?"
MandrakeSoft | "Because I'm a nympho that owns a brewery?"
| - BBC TV show "Coupling"
next prev parent reply other threads:[~2002-02-21 14:27 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.fsgrt4v.1bngh9t@ifi.uio.no>
[not found] ` <fa.hp69onv.i7qtq3@ifi.uio.no>
2002-02-21 14:06 ` linux kernel config converter Giacomo Catenazzi
2002-02-21 14:26 ` Jeff Garzik [this message]
2002-02-21 14:39 ` Giacomo Catenazzi
2002-02-21 15:11 ` Jeff Garzik
2002-02-21 16:00 ` Randy.Dunlap
[not found] ` <fa.lqt3hav.190o1i9@ifi.uio.no>
2002-02-21 14:50 ` Giacomo Catenazzi
2002-02-21 14:56 ` David Lang
2002-02-21 15:05 ` Giacomo Catenazzi
[not found] <fa.gq2s5iv.1s4in@ifi.uio.no>
2002-02-21 13:28 ` Giacomo Catenazzi
2002-02-21 14:11 ` Roman Zippel
2002-02-21 14:32 ` Giacomo Catenazzi
2002-02-21 15:19 ` Roman Zippel
2002-02-21 10:48 Roman Zippel
2002-02-21 11:40 ` Jeff Garzik
2002-02-21 12:21 ` Roman Zippel
2002-02-21 12:32 ` Jeff Garzik
2002-02-21 12:54 ` Erik Andersen
2002-02-21 13:21 ` Jeff Garzik
2002-02-21 14:28 ` David Lang
2002-02-21 14:36 ` Jeff Garzik
2002-02-21 14:40 ` David Lang
2002-02-21 15:05 ` Jeff Garzik
2002-02-21 15:41 ` Jason Lunz
2002-02-21 15:54 ` Jeff Garzik
2002-02-21 15:18 ` Alan Cox
2002-02-21 15:08 ` Jeff Garzik
2002-02-21 15:22 ` Gerd Knorr
2002-02-21 15:33 ` Roman Zippel
2002-02-21 18:53 ` Andreas Dilger
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=3C7503B1.E7CA83AA@mandrakesoft.com \
--to=jgarzik@mandrakesoft.com \
--cc=andersen@codepoet.org \
--cc=cate@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zippel@linux-m68k.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