Re: kbuild 2.5 is ready for inclusion in the 2.5 kernel

Randy.Dunlap
2002-05-03T06:32:55Z

On Fri, 3 May 2002, Keith Owens wrote:

| On Thu, 2 May 2002 21:17:43 -0700 (PDT),
| "Randy.Dunlap" <rddunlap@osdl.org> wrote:
| >I kinda like to do 'make bzImage' without making modules also.
| >Would that be difficult to do in kbuild 2.5?
| >Oh, but then I would also (still) need 'make modules'...
|
| Sample testing targets, to see if you made any typing errors.
|
| make vmlinux
| make arch/i386/boot/bzImage
| make drivers/acpi (non-recursive)
| make drivers/acpi-r (recursive)

make -f Makefile-2.5 <target>

Yes, that works fine.

So if my .config file has lots of USB modules =m,
I can just make drivers/usb-r and it will make all
of the specified modules ?
Yes, I did that.

| Do it with NO_MAKEFILE_GEN=1 for much, much! faster builds. But you
| should really do a clean make installable (which will do modules as
| well) before make install.
|
| >Any ideas about this error? user error??
| >
| >$ make oldconfig menuconfig
| >
| >... and then
| >
...
| >make: *** [/usr/linsrc/linux-2513-pv/.config] Error 1
|
| You mixed the old kbuild 2.4 make *config with a kbuild 2.5 build.
| Don't do that.

DDT. Got it. Thanks.

| One of the downsides of coexistence, users can get it wrong.

Right.

| make -f Makefile-2.5 menuconfig installable

Working now. I appreciate your help and kbuild 2.5.

--
~Randy