Alle 20:38, luned=EC 29 marzo 2004, Gerd Knorr ha scritto:
> uml needs the patch below to build with separated source and object
That is needed; but I think that still O=3D... won't work properly - I expe=
comments on this.
By "work properly" I mean not only to produce a correct binary (probably th=
works) but also to avoid writing any file in the source tree. I tried to=20
achieve this some time ago but I had a lot of problem with generated header=
Actually I had to add -I$(srctree)/arch/um/include and=20
=2DI$(objtree)/arch/um/include, but Kbuild thinks I am silly and adds by=20
itself, in both cases, the $(srctree) part, and some other Makefiles rely o=
this, so changing it is hard. I didn't think to make it understand that a=20
full path must not be corrected (which would probably work).
Also, there were heavy changes to do to the include files location.
I'm attaching the patch I built at that time (i.e. 2.6.0 + my MODVERSION pa=
which changes a lot of Makefiles..., so it won't apply directly). With the=
above fix you could make it work, maybe.
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729