Subject: Re: kernel compile and mk.conf
To: Amiga-NETBSD <port-amiga@netbsd.org>
From: Emm Vasilakis <evas@agn.forthnet.gr>
List: port-amiga
Date: 10/14/2003 23:56:22
On Τρι, 2003-10-14 at 22:00, Ignatios Souvatzis wrote:
> Geia sou Manoli,

Geia xara Ignatie,

> Don't touch them directly in mk.conf. If you want them there for pkgsrc
> builds (and you still might get problems for some packages...), put them
> inside a #ifdef that will hide them from the kernel compilation.

Ok, so now I've got

#ifdef BSD_PKG_MK
M68040=YES
COPTS+=-O2
CFLAGS+=-m68040
#endif

which should only let compiles from pkgsrc to use them, is it ok?

> Instead, use
> 
> options M68040
> options FPSP
> 
> in your kernel configuration file.

Did that, commented out all other options.

Thanks,
Emmanuel