Re: Arch specific/multiple Configure.help files?

Giacomo Catenazzi (cate@math.ethz.ch)
Fri, 06 Apr 2001 11:39:24 +0200


Johan Adolfsson wrote:
>
> > - IIRC there is only few ARCH specific configuration, thus we
> > don't
> > reduce the size of che Configure.help
> > Note that the arch/config.in have to much configuration item
> > (but they repeat in (nearly) all arch/config.in files, thus
> > you
> > should count only the really arch specific item.
>
> Here are some results:
> $ wc arch/cris/Configure.help
> 621 4424 28373 arch/cris/Configure.help
> $ wc Documentation/Configure.help
> 17480 121037 773694 Documentation/Configure.help
> $ grep CONFIG arch/cris/Configure.help |wc
> 75 138 2337
> $ grep CONFIG Documentation/Configure.help |wc
> 1486 1640 30135
>
> it's not entiraly correct since the CONFIG_BLUETOOTH help
> is in the arch/cris directory and that should probably be in
> Documentation/ or in the OpenBT package and merged from there.
> The file also contains the # LocalWords: rows from the original
> Configure.help.
>
> But the ETRAX/CRIS config is 3-5% of the total config.

This seem too much. If all arch have a so big CONFIG space, I
think that your idea can do some improvement.
But: user don't see the difference. Do you think that
developers
would like your proposal? (If arch maintainers agree, you can
try to publish your patch)

>
> Having the help close to the config sounds like a good idea
> from a maintenance point of view.

But in 2.5.x the config.in are centralized, thus also
Configure.help sould be centralized.
And in this case I think that a big file hurts nobody.

> > > > ESR CML2 have the defualt path for Configure.help build in
> > > > the rules files, but it can be overriden by command options
> > > > to use an other Configure.help (the format do not change).
> > >
> > > I want to be able to use two help files.
> >
> > I think it is not a big issue. In Makefile we can
> > : cat Conf.help.1 Conf.help2 > .Conf.help
>
> Sounds better than dealing with two different help files in the
> config system.
> Is there an ETA when ESR CML2 will be in the official kernel?
> (I guess I should catch up on what it will provide instead of
> wasting peoples time...)

In 2.5.2 kernel. What We don't know is when 2.5.2 will be
released!

>
> Would adding support for merging help files in the current config
> system be accepted in the meanwhile?

In 2.4: No. Distribution expect a stable interface.
In 2.5 will be the new CML2.
Again if arch maintainer agree with your proposal, you can
change
the CML2. Not so difficult (and you change only in one place
for all interfaces (olconfig/config/menuconfig/xconfig)

> E.g. Configure, Menuconfig and header.tk is changed to use
> Documentation/Configure.help.generated
> and the top Makefile does
> cat $(HELPFILES) >Documentation/Configure.help.generated 2>/dev/null
> for oldconfig, config, menuconfig and xconfig targets?
> And HELPFILES is set to:
> HELPFILES = arch/$(ARCH)/Configure.help Documentation/Configure.help
>
> External patches that add functionality could easaly add
> HELPFILES += some new help files
> rows to get the help as well.

This change is too big for 2.4 kernel.

giacomo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/