Subject: Re: compiling only a part of src (e.g. bootfloppies :)
To: Havard Eidnes <>
From: David Laight <>
List: current-users
Date: 08/22/2005 21:16:33
On Mon, Aug 22, 2005 at 08:18:36PM +0200, Havard Eidnes wrote:
> For this specific example:
> 1) build tools to ${TOOLDIR}
> 2) build the kernel used by bootfloppy-big (INSTALL, I think)
> 3) cd to the above dir; cd ../ramdisk-big; and do
>    ${TOOLDIR}/bin/nbmake-i386 dependall
> 4) cd ../bootfloppy-big; ${TOOLDIR}/bin/nbmake-i386 dependall

You may want to have done '${TOOLDIR}/bin/nbmake-i386 obj' first.
Also look at some of the targets in the Makefile in src/etc.

Once a full build has worked, and you have rebuilt the image (as above)

$ KERNEL_DONE= DISTRIBUTION_DONE= ${TOOLDIR}/bin/nbmake-i386 snapshot
(Or something similar)
will probably perform the latter stages.


David Laight: