Subject: Re: building
To: Jeremy C. Reed <reed@reedmedia.net>
From: Mipam <mipam@ibb.net>
List: netbsd-help
Date: 10/03/2002 02:56:43
> As already mentioned, you should use build.sh for building from scratch.
Okay, what about this:
From the docs here:
http://www.netbsd.org/Documentation/current/#building
mkdir /usr/obj
cd /usr/src
./build.sh -t
cd sys/arch/{arch}/conf
.../../../../tools/obj/tools.<hostplatform>/bin/nbconfig
{kernel_config_file}
cd ../compile/{kernel_config_file}
.../../../../../tools/obj/tools.<hostplatform>/bin/nbmake-ARCH
make install
Then reboot to use the newly builded kernel.
then cd /usr/src
./build.sh
Will this suffice to build the sources from scretch?
What about if i wish to do something which i could do with the old
makefiles "make UPDATE= build"
How to invoke this using the build.sh ?
Or how to do a normal make cleandir using build.sh?
Bye,
Mipam.