Hello everybody!
I tested kbuild-2.5 for 2.4.19 and I'm impressed - that's what I wanted long
ago. Especially the feature of multiple source and a different
destination-directory are very valuable.
Now I've got a suggestion:
If $KBUILD_OBJTREE is different from the various $KBUILD_SRCTREE_xxx's I'd
recommend writing a file named "Makefile" into $KBUILD_OBJTREE:
export KBUILD_OBJTREE:=/usr/src/linux.obj
export KBUILD_SRCTREE_000:=/usr/src/linux
export KBUILD_SRCTREE_010:=/usr/src/my_linux
include $(KBUILD_SRCTREE_000)/Makefile-2.5
I've done this and I find that practical - not only I don't have to remember
my settings used to generate that objtree but it's sufficient to be in there
and type "make installable" to compile the kernel.
Furthermore I'd beg you to include a big warning into the documentation (eg
Documentation/kbuild/kbuild-2.5.txt). Although I read that file I ran into
the problem that I did "make oldconfig" WITHOUT using the "-f Makefile-2.5" -
which makes the complete source tree uncompileable (That was a test with
objtree == srctree). You MUST do a "make -f Makefile-2.5 oldconfig" - which I
only figured out after some time and 2 "make mrproper".
But kbuild is very good stuff - I surely hope it will make it into 2.4 and 2.5
soon!
Regards,
Phil
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel