[lkml]   [2001]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [kbuild-devel] Re: State of the new config & build system
"Eric S. Raymond" wrote:
> Linus Torvalds <>:
> > Eric, this is the _wrong_approach_. I want /local/ files, not global ones.
> First: where should the prompt-string definitions for capability
> symbols that occur in multiple port trees live?

the main cml script in linux root dir should be as little as possible.
it will include all the arch/*/ cml files (for really specifific
options) and you move other item into the subdir drivers/
(the natural place, all file who should not be in driver/ are
by definition arch specific).

> Second: Forward references, and references across the tree, mean that
> there is a class of symbols that have theoretically natural home directories
> but which would have to be declared elsewhere in order to be defined at
> the point of first reference.
> (A potential solution to this would be to improve the CML2 compiler's
> handling of forward references.)

No. CML2 could be improved to handle che forward references, but
not user that will use line config.

> Third: I could hack my installer to break up into
> a bunch of little component CML files distributed through the tree...
> but doesn't currently contain any markup that says
> where to direct each entry to.

The Makefile should help you.

> Fourth: There's still the localization issue. If it's your ukase
> that this is not an important problem, then I'll accept that -- but
> I haven't heard you say that yet, so I'm not sure you've considered
> it enough.

PROPOSAL: You add a tool to build a big file from the sparse
symbols.cml. Translator will use this file as references,
adn your CML2 will use translated big files or the default
sparse little files.

This should not be a problem, because a translator will read
documentation (unlike the most user), so you can explain
how to do this work. (And the 'diff' could be a friend
to the translators).

kbuild-2.5 have already support for 'clean' driver
(clean: driver that don't touch existing files).
I like it. If CML2 could handle natively also these
change it would great.
The problem is the use of multiple sources dir.
I think you and Keith should coordinate this
And I find clean if also configuration files go
into makefiles.



Keith: How you handle the obsolete files?
(foo.c in the main source. the patch in
source src1 will remove this file).
Actually I have create a shell script
kpatch: a new implementation of
scripts/patch-kernel, that handles
normal, testing and testing/incr patches,
dont-use patches, multiple sources and
new (and clean) destination dir).
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:18    [W:0.112 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site