Skip to contentSkip to conversation

If you want kbuild 2.5, tell Linus

DISCUSSION Jesse Pollard 6 participants 7 messages Jun 6, 2002 – Jun 10, 2002

lore
Share & tools
lore
#0 lore raw

[email protected] (Kai Henningsen):

Quoted 23 lines

[email protected] (Daniel Phillips) wrote on 03.06.02 in <E17Esc6-0000v9-00@starship>:

Quoted 6 lines

Linus has already indicated his position, I guess you were busy writing the post so you didn't notice:

http://marc.theaimsgroup.com/?l=linux-kernel&m=102304528224527&w=2

Plus you've got helpers, how could the situation be better?

I fail to see how this is supposed to work, and I guess so does Keith.

Kai (a different Kai!) does not seem to want to integrate the core part of kbuild2.5. He seems to want to only pick the low-hanging fruits and make unsupported (and unbelievable) noises about the rest.

And Linus seems to want to ignore the fact that the core portion of kbuild2.5 is, by its very nature, not something that can be merged "gradually" - just like ALSA, or a new architecture, can't meaningfully be merged "gradually". (And he *also* said that he wasn't interested in pseudo-gradually, i.e. getting the stuff in parts but still making a big exchange.)

Quoted 5 lines

Frankly, I see *absolutely no way* how the current Kai-Linus "merge" can possibly end with something even remotely like Keith's kbuild2.5. Unless Linus changes his approach radically.

If I were Keith, I'd be rather upset, too.

How about the following approach, which MAY not be practical:

1. Name all of the new Makefiles Makefile.k2.5
2. Create a small wrapper script to define make as "make -f Makefile.k2.5" or just define MAKE as make -f Makefile.k2.5 in the top level Makefile.k2.5

Put the kbuild2.5 specific tools in a directory reserved for kbuild2.5 tools.

This should allow both build procedures to reside side by side. Use one or the other, but don't mix them (don't build the kernel using one, then build the modules using the other, though that MIGHT work, it doesn't have to). It may be necessary to have disjoint configure file names.

To switch between them should take a "make clean", then rename the wrapper script. Dependant tools should reside in different directories to prevent name collision. Common tools wouldn't change.

After everyone is happy with the new build procedures, the older one could be retired. A clean-up patch could then rename the Makefiles and fix any final targets, though I would favor just leaving that the same as a pattern for future kbuild evoultion/revolution.

-------------------------------------------------------------------------
Jesse I Pollard, II
Email: [email protected]

Any opinions expressed are solely my own.

#1 lore raw
Quoted 1 line

How about the following approach, which MAY not be practical:

Please note that there have already been innumerable proposals of how to merge kbuild 2.5, and all of them have been silently rejected.

What I keep pondering over is, what is it that Linus finds troublesome about merging the whole of kbuild 2.5? More -- why has he decided to keep this to himself? Something tells me the answer to these questions might be the key to solving the whole kb25 merge problem.

Hmmmm, it's rather odd to have to write about someone in 3rd person when you know they'll read the text; They'll even give it a bit of thought and will likely have things to say. They won't let you know, though. You've noticed Linus was a he in the "if you want kbuild 2.5, tell Linus" mail, haven't you? If I was a psychologist, I might have something interesting to say based on that information. :)

Oh well.

And as for your idea, I'd say it really is impractical. kbuild 2.5 can live in perfect peace with the old build system as it is.

T.

#2 lore raw
Quoted 9 lines · Tomas Szepe
Quoted 1 line

How about the following approach, which MAY not be practical:

Please note that there have already been innumerable proposals of how to merge kbuild 2.5, and all of them have been silently rejected.

What I keep pondering over is, what is it that Linus finds troublesome about merging the whole of kbuild 2.5? More -- why has he decided to keep this to himself? Something tells me the answer to these questions might be the key to solving the whole kb25 merge problem.

As I see the problem, the proposal has been either rejected or
postponed, and some people refuse to accept that. I would love to see the best of O1 and preempt in 2.4, too, but I'm not going to ask anyone to write Linus, or Marcel, or Sen. Hollings and tell them my idea is a good idea. As long as patches are available and I'm able to apply them, I will grumble under my breath and move on. That's my vote for a solution to the kb25 merge problem, accept that a decision has been made and move on.

Quoted 6 lines

Hmmmm, it's rather odd to have to write about someone in 3rd person when you know they'll read the text; They'll even give it a bit of thought and will likely have things to say. They won't let you know, though. You've noticed Linus was a he in the "if you want kbuild 2.5, tell Linus" mail, haven't you? If I was a psychologist, I might have something interesting to say based on that information. :)

I spent half of the weekend with a small child who asked his other to
let him do something. His mother said no, and instead of doing any of the other things available to him, the spent the afternoon, evening, and following morning asking his siblings, aunts and uncles, and grandparents to tell his mother why he should be allowed to do that particular thing. As a result he wasted his time, didn't do anything fun in that time, and pissed off his mother to no end.

I shouldn't wonder if Linus hasn't heard all he wants on this, he is
certainly willing to enter a dialong when he feels discussion is useful. if I were pushing this change I might read something into that and not flagellate this particular deceased equine.

Signature · 3 lines
bill davidsen <[email protected]>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.
#3 lore raw
In reply to Jesse Pollard
Quoted 10 lines · Jesse Pollard

[email protected] (Kai Henningsen):

Quoted 4 lines

Frankly, I see *absolutely no way* how the current Kai-Linus "merge" can possibly end with something even remotely like Keith's kbuild2.5. Unless Linus changes his approach radically.
If I were Keith, I'd be rather upset, too.

How about the following approach, which MAY not be practical:
1. Name all of the new Makefiles Makefile.k2.5
2. Create a small wrapper script to define make as "make -f Makefile.k2.5" or just define MAKE as make -f Makefile.k2.5 in the top level Makefile.k2.5

I think if you had read their posts more thoroughly, or checked the patch out yourself, you would have found that they already did this.

kbuild2.5 and kbuild2.4 are already made to exist side by side.

I dunno about the Linus-wall thing though. I think Linus has good reasons that apply in the general case, but probably don't apply at all for this specific case.

How do you make an exception without allowing for exceptions?

mark

Signature · 9 lines
[email protected]/[email protected]/[email protected] __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | Neighbourhood Coder
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | 
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...

                           http://mark.mielke.cc/
#4 lore raw
In reply to Jesse Pollard

Hi,

Quoted 1 line · Jesse Pollard

How about the following approach, which MAY not be practical:

Yepp, it's so incredibly practical that it's already in (the name is Makefile-2.5, and I got a little script called kbuild which does make -f Makefile-2.5 $@ for me.)

Get used to it, and try the patch!

Regards,
Thunder

Signature · 4 lines
ship is leaving right on time	|	Thunder from the hill at ngforever
empty harbour, wave goodbye	|
evacuation of the isle		|	free inhabitant not directly
caveman's paintings drowning	|	belonging anywhere
#5 lore raw
Quoted 2 lines · [email protected] said:

and I got a little script called kbuild which does make -f Makefile-2.5 $@ for me.)

Something wrong with 'echo include Makefile-2.5 > GNUmakefile' ?

--
dwmw2

#6 lore raw

Hi,

Quoted 1 line · David Woodhouse

Something wrong with 'echo include Makefile-2.5 > GNUmakefile' ?

In theory, no. In theory. I can't check it for now, do you see anything wrong with it?

Regards,
Thunder

Signature · 4 lines
ship is leaving right on time	|	Thunder from the hill at ngforever
empty harbour, wave goodbye	|
evacuation of the isle		|	free inhabitant not directly
caveman's paintings drowning	|	belonging anywhere