Sam Ravnborg wrote:
> 
> On Wed, Jun 26, 2002 at 01:48:04AM +1000, Greg Banks wrote:
> > Ok, why don't you and Peter Samuelson get together, create such a thing and
> > we can compare it against kbuild2.5?  If it's simple and a win, great!
> The same reasons as so many other I belive:
> I do not have the need, I do not have the time, so I do not bother doing it.
> 
> But I could return the question to you. If you thing this needs to be
> done by kbuild - why not add it to kbuild.
> The answer that it is already there in kbuild-2.5 I do not buy into.

Well, until recently that was the entire reason nobody bothered to do
anything at all to kbuild, because we all know it would be solved in
kbuild-2.5 and that Linus had said he was in favour of kbuild-2.5.  Until
Linus changed his mind this was a perfectly good plan.

> Reasons for this is simple:
> - kbuild-2.5 is not in main line

Yes.

> - kbuild-2.5 forces a new syntax for makefiles

Yes.

> - kbuild-2.5 adds a lot of complexity compared to Rules.make* as of today.

Actually, I would dispute that.

Firstly, Rules.make is already quite complex, but the complexity is perhaps
not obvious.  Secondly, kbuild-2.5 does not replace something simple with
something complex, instead it replaces something complex and broken with
something of greater complexity and not broken.  The complexity added by
kbuild-2.5 is added to fix cases which are ignored or poorly handled in kbuild,
it's not spurious or bloatful.

> * Rules.make needs some commenting to explain the magic behind the
> constructs. kbuild-2.5 does a good job commenting the src.

I think if Rules.make explained itself as well as Keith's work you would see
why the extra complexity is justified.

> A big open question for me is still:
> o What do I get from kbuild-2.5 that justify the added complexity?
> -> Separate obj and src trees [Soon available in kbuild-2.4]
> -> Shadow trees
> -> Faster total build
> -> Slower build of a single object when no specific syntax is used
>         NO_MAKEFILE_GEN
> -> Better documentation, and more precise documentation

As Keith keeps pointing out, the build is more accurate.

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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to