[lkml]   [2001]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Arch specific/multiple files?

----- Original Message -----
From: Giacomo Catenazzi <>
To: <>
Cc: <>
Sent: Friday, April 06, 2001 09:44
Subject: Re: Arch specific/multiple files?

> wrote:
> >
> > > This was already discussed on kbuild list.
> > > It is better to have only 1 This help
> > > translation of the file and help busy developers.
> > > They should not rewrite texts in every
> >
> > I can't see that 1 file makes it easier.
> > The same help text is only present in one file,
> > either arch/$ARCH/ or
> > Documentation/
> Ok, if you use both files.
> Better a single file because:
> - I18n support. (But not a big issue for us).
I must admit that I haven't got a clue what that is:-)

> - CML2 merges all arch configurations in one file (really in 4
> file:
> rules, menu strings, ...)
> Thus because we merge also configuration, I think that it is
> better not to split the helps.

If this is solved by merging two files or if the config system
really uses two files doesn't really matter to me.
Merging files is probably a better approach if having
non-centralised help files can be accepted.

> - IIRC there is only few ARCH specific configuration, thus we
> don't
> reduce the size of che
> Note that the arch/ have to much configuration item
> (but they repeat in (nearly) all arch/ files, thus
> you
> should count only the really arch specific item.

Here are some results:
$ wc arch/cris/
621 4424 28373 arch/cris/
$ wc Documentation/
17480 121037 773694 Documentation/
$ grep CONFIG arch/cris/ |wc
75 138 2337
$ grep CONFIG Documentation/ |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

But the ETRAX/CRIS config is 3-5% of the total config.

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

> I would prefer to have and help file togheter. But
> in the
> discussion in kbuild list, it come that is is better to merge
> all configuration in one file and the strings in an other (and
> thus
> not to merge to not heve a very huge file).
> What are the advanteget to split the
> >
> > The help system first checks the file in arch/$ARCH and if
> > the help is not present there it checks the one in Documentation/
> >
> > > If you should provide a special help on a specific ARCH you
> > > could modify the symbols: instead of
> > > : bool 'std IPC support' CONFIG_IPC
> > > you can do:
> > > : bool 'arch specific IPC help' CONFIG_IPC_STRANGE_ARCH
> >
> > Don't know if you missunderstood me or if I missunderstand
> > you here.
> > The typical use for the arch specific help file would only cover
> > the arch specific CONFIG options (although it could "override"
> > the general help text in Documentation/ with
> > an arch specific one, but if you do that I guess you're doing
> > something wrong)
> I think I missunderstood you. But this was the big issue for
> splitting (Thus if an developer should use
> at arch specific help, he should use this method)
> >
> > > ESR CML2 have the defualt path for build in
> > > the rules files, but it can be overriden by command options
> > > to use an other (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.help2 >

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...)

Would adding support for merging help files in the current config
system be accepted in the meanwhile?
E.g. Configure, Menuconfig and is changed to use
and the top Makefile does
cat $(HELPFILES) >Documentation/ 2>/dev/null
for oldconfig, config, menuconfig and xconfig targets?
And HELPFILES is set to:
HELPFILES = arch/$(ARCH)/ Documentation/

External patches that add functionality could easaly add
HELPFILES += some new help files
rows to get the help as well.

> giacomo


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

 \ /
  Last update: 2005-03-22 13:24    [W:0.064 / U:8.800 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site