Sam Ravnborg wrote: > On Thu, May 03, 2007 at 01:14:15PM -0700, H. Peter Anvin wrote: >> Sam Ravnborg wrote: >>> Would it be OK if we have arch/x86_64/boot present and have stub Makefiles >>> in all directories? >>> If thats OK I can try to cook up something. >>> >> That's certainly acceptable as an interrim solution. The right thing >> can wait for the x86 merge, probably. > > The general issue with current infrastructure is that we do not > honour $(src) and $(obj) in the implicit rules. > So I added these. > > Then next problem is how to set src to the correct value. > For arch/x86_64/boot I could just set it in the make invocation. > For directories below boot/ I do not know yet how to do it. > > With patch below and with a one line Makefile in > x86_64/boot thet just included arch/i386/boot/Makefile > I could compile the boot directory. > So not a full solution yet but on the right track. >
FWIW, in the meantime I'm making forward progress simply by symlinking arch/x86_64/boot -> ../../i386/boot. Works great, but I don't think symlinks in the tarball are accepted, and if it's dynamically generated it would break O=. -hpa ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel