All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesper Juhl <jesper.juhl@gmail.com>
To: Krzysztof Halasa <khc@pm.waw.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Why don't we separate menuconfig from the kernel?
Date: Sun, 18 Sep 2005 03:16:40 +0200	[thread overview]
Message-ID: <9a87484905091718163bb72e58@mail.gmail.com> (raw)
In-Reply-To: <m3d5n7kwwz.fsf@defiant.localdomain>

On 18 Sep 2005 03:05:32 +0200, Krzysztof Halasa <khc@pm.waw.pl> wrote:
> Jesper Juhl <jesper.juhl@gmail.com> writes:
> 
> > What exactely is it you want to make a sepperate package?
> 
> Just the menuconfig (mconf) at first. OTOH it might make sense to
> move them all.
> 

And if you do that, then you'd be shipping a kernel source that it
would be impossible for users to configure without installing
sepperate tools - and tools (unlike for example gcc) that very few
people would have a need for outside configuring their kernel.
Not a good idea in my oppinion.


> > menuconfig is just a little bit of the kbuild system which also
> > includes xconfig, config, gconfig, oldconfig, etc.  menuconfig is just
> > a dialog based frontend to the kbuild system which consists of
> > configuration options, help texts, dependency info etc.
> 
> Sure, that's what I mean. It's used for configuring the kernel, but
> other packages use it (well, some version) too. Example: busybox.
> 
> There is no much point in keeping more than one copy. They are
> completely independent of the kernel, all the kernel wants is to pass

I think there's a point; the kernel source should contain its own
configuration tools.
Just think of how many users would complain that "the kernel is
broken, I can't configure it" and similar. Also, what would ensure
that the config/build tools would always stay in sync with other
kernel changes?  Right now things stay in sync since everyone are
using the same version of the tools that ship with any given kernel
and if something breaks it's fixed up along with everything else. Move
it out of the kernel tree and you'll end up having users trying to use
old tools to build a new kernel (or new tools to build an old kernel)
and there's bound to be breakage at some point - why have those extra
problems?


> them some Kconfig file and expect data in .config. (oldconfig uses
> .config.old).
> 
if you extract a fresh kernel source and copy your old .config to
.config in the new kernel source dir, then "make oldconfig" will read
that .config and write a new one as well...

> There is a question about config language and possible future changes.
> Not a serious problem IMHO.
> 
I disagree.


> > I don't think it makes much sense to split the parts of kbuild that
> > make up menuconfig out into a standalone thing. kbuild (and thus
> > menuconfig) has little use outside the kernel.
> 
> It's not exactly the case.

If someone wants to use the tools outside the kernel, then let them
fork off a version and maintain that out-of tree. The in-kernel and
out-of-kernel could borrow code and fixes from eachother if
needed/wanted, but I personally believe there needs to be a version
shipping as part of the source tree.

-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

  reply	other threads:[~2005-09-18  1:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-17 17:16 Why don't we separate menuconfig from the kernel? Krzysztof Halasa
2005-09-17 17:33 ` Michal Piotrowski
2005-09-17 19:18   ` Krzysztof Halasa
2005-09-18  0:46 ` Jesper Juhl
2005-09-18  0:56   ` Randy.Dunlap
2005-09-18  0:58     ` Jesper Juhl
2005-09-18  1:05   ` Krzysztof Halasa
2005-09-18  1:16     ` Jesper Juhl [this message]
2005-09-18 10:33       ` Krzysztof Halasa
2005-09-18 20:40       ` Daniel Barkalow
2005-09-19  7:15     ` Matthias Andree
2005-09-19 16:28       ` Krzysztof Halasa
  -- strict thread matches above, loose matches on Subject: below --
2005-09-18  1:53 Martin Fouts
2005-09-18  7:30 ` Sam Ravnborg
2005-09-18 10:36 ` Krzysztof Halasa
2005-09-18 10:55   ` Ian Campbell
2005-09-18  7:50 Martin Fouts

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=9a87484905091718163bb72e58@mail.gmail.com \
    --to=jesper.juhl@gmail.com \
    --cc=khc@pm.waw.pl \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.