On Fri, May 24, 2002 at 01:39:56PM -0500, Peter Samuelson wrote:
> I was going to say that this would not work at all because the
> paradigms for 24 and 25 are just too different ... but then I noticed
> that the vast majority of makefiles in the kbuild25-common patches are
> not really aware of the advanced kbuild25 features.  Assuming someone
> were willing to write a parser to handle the common functions -
> select(), ifsel(), expsyms(), link_subdirs(), and a few others -  a lot
> of Makefiles could go in this way, transformed at runtime to something
> that uses Rules.make.
There could be even a function kbuild_24(SOMETHING) that writes SOMETHING to
the Makefile without really parsing anything. It's nasty, but it could make
this temporary parser easier.

> Anyone want to write such a parser? 
Sorry, I'm neither familiar enough with Bison nor with kbuild-2[4,5] to try
such a task :-(

> The first thing that should be sent independently to Linus is probably
> the asm-offsets stuff.  It is mostly independent of the makefile
> structure.
If this is independent, great! Yet another thing that can be split up.

Dominik

Attachment: msg01477/pgp00000.pgp
Description: PGP signature

Reply via email to