All of lore.kernel.org
 help / color / mirror / Atom feed
* Why don't we separate menuconfig from the kernel?
@ 2005-09-17 17:16 Krzysztof Halasa
  2005-09-17 17:33 ` Michal Piotrowski
  2005-09-18  0:46 ` Jesper Juhl
  0 siblings, 2 replies; 17+ messages in thread
From: Krzysztof Halasa @ 2005-09-17 17:16 UTC (permalink / raw)
  To: linux-kernel

Hi,

A number of packages (e.g., busybox) use some, more or less broken,
version of menuconfig. Would it make sense to move menuconfig to
a separate well-defined package?

Nooo? Why not?
-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 17+ messages in thread
* RE: Why don't we separate menuconfig from the kernel?
@ 2005-09-18  1:53 Martin Fouts
  2005-09-18  7:30 ` Sam Ravnborg
  2005-09-18 10:36 ` Krzysztof Halasa
  0 siblings, 2 replies; 17+ messages in thread
From: Martin Fouts @ 2005-09-18  1:53 UTC (permalink / raw)
  To: jesper.juhl, Krzysztof Halasa; +Cc: linux-kernel

I don't have a patch yet, but I've just spent a bit of time looking at
how kbuild works, and I believe there is a fairly straightforward way to
keep kbuild in the kernel tree but make it easy to split it out so that
someone could use it as a separate tool.

If this idea, appropriately modified, makes sense, I'll spend a bit of
time to do a patch and set it up.

The basic idea is that kbuild stays in the kernel source tree, but a
simple script is used to grab a copy of it out of the tree.  That copy
is maintained as a separate "build/configuration" package, and the
maintainer (yes, I'm volunteering) would keep the two versions in (near)
sync.

After a quick glance, it looks like one would want to copy

Documentation/kbuild/*
Scripts/kconfig/*
Makefile

To this new copy.  The only real work to get started, it appears, and
the reason why I'd rather have a discussion before I start, would be to
split the toplevel Makefile up a bit, so that the 'pure kbuild' bits
were moved into an include file. It's really that include file, not the
toplevel Makefile that would need to be copied.

I suggest doing this because most of the make-related knowledge about
kbuild itself is in that Makefile, but non-kernel users would not want
the kernel specific targets.

I know of two other packages (busybox and ptxdist) that use kconfig now,
and have been contemplating it for some of my projects, as well, so I'm
interested enough to take the project on.

Marty

^ permalink raw reply	[flat|nested] 17+ messages in thread
* RE: Why don't we separate menuconfig from the kernel?
@ 2005-09-18  7:50 Martin Fouts
  0 siblings, 0 replies; 17+ messages in thread
From: Martin Fouts @ 2005-09-18  7:50 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: jesper.juhl, Krzysztof Halasa, linux-kernel

 
> I'm a bit confused.
> Do you want to take a copy of kbuild or kconfig?
> 
> kbuild is much more intiminate than kconfig althougth the 
> latter has a few kernel only issues too.

Kconfig is nice without kbuild, but if you want to automate it in a
makefile, you'll want the bits of kbuild from the top level makefile
that do that.

So I guess my personal answer is I want kconfig with just enough kbuild
to make it nice.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2005-09-19 16:28 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.