Re: [kbuild-devel] Re: [PATCH] kconfig: menuconfig and config uses $objtree

From: Greg Banks (
Date: Sun Jun 30 2002 - 04:31:44 EST

Sam Ravnborg wrote:
> Every CML program
> -----------------
> There are 3 CML programs within the kernel tree (Configure, menuconfig
> and xconfig). To me the best thing that could happen was that they
> disappeared, being replaced by a single config tool - that provided
> the same type of interfaces. This tools we could extend to do a little
> more semantic checks etc.

<sigh> if only...

> There exist several not-in-the-tree config tools, and they just have
> to adapt. No-one told them they could rely on current behaviour
> forever.

Speaking as the author of one of these, I'm willing to deal with
this behaviour change.

> I hope that one of the existing out-of-tree tools (mconfig, llc, autoconf,
> CML2, GCML2 - others?) one day will get mature enough to replace the
> existing tools.

I don't think maturity is the issue, or CML2 would have been merged by now.

> Create a shadow structure for config tools to use
> -------------------------------------------------
> The only sole reason why kbuild.2-5 needs to create a shadow tree
> of all the config related files is simply that you have decided
> what you consider the best way to support shadow trees are.
> So in our discussion about shadow-tress I recall you mentioned
> several times that using a built-only tree of src-files would create
> a lot of problems when changes were made, and you had to distribute
> changes back in the original trees.
> My point then was that changes were always made in the original tree.
> And now I see that you use the exact same apporach for config-files
> within kbuild-2.5. So do you agree that creating a built-only tree
> suddenly becomes an OK solution?

                     Keith Owens Sam Ravnborg
symlink tree |
for source | bad good
symlink tree | good bad
for config |

As for me, I'm agnostic. In GCML2, getting from the argument to the
"source" statement to an argument to fopen(3) is by far the least
of the problems caused by having to parse CML1 rules.

> Therefor I see a good point optimizing the current config tools
> to current kbuild. I see no point in keeping the current behaviour
> if this is only for the sake of kbuild-2.5.



the price of civilisation today is a courageous willingness to prevail,
with force, if necessary, against whatever vicious and uncomprehending
enemies try to strike it down.	   - Roger Sandall, The Age, 28Sep2001.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:14 EST