Subject: Re: kernel and compiling.
To: None <firstname.lastname@example.org>
From: Bernd Sieker <email@example.com>
Date: 09/29/1999 19:41:04
On 16.09.99, 21:36:46, Reinoud Koornstra wrote:
> Normally you go to /usr/src/sys/arch/i386/conf
> Change the config file and start the procedure.
> But when do you have to 'make clean' ?
> Is this the right procedure? :
> 1) go to... /usr/src/sys/arch/i386/compile/<MYCONF>
> 2) and then 'make clean' ?
> 3) And after this you go again to /usr/src/sys/arch/i386/conf and then
> 4) config <MYCONF>
> 5) cd ../compile/<MYCONF>
No, you don't need to do that again. After making clean, just "make depend"
and "make", and all should be fine.
"make clean" does not erase the compile directory, just the object
files and the kernel image, so no old object files are lying around
after changing the configuration.
> 6) make depend
> 7) make
> 8) mv ...........
So, go to the conf directory, make "config MYCONF", go to the compile
directory compile/MYCONF, "make clean", "make depend", "make". If this
is the first time you build the configuration MYCONF, you don't need
to make clean at all.
Unix, the solution to the W2k problem.