5.x, 6.x and CPUTYPE

Scot Hetzel swhetzel at gmail.com
Mon Nov 7 11:17:30 PST 2005


On 11/7/05, Joel Hatton <freebsd-stable at auscert.org.au> wrote:
> Finally, when building on a single host, but where multiple requirements
> are being met, is it possible to define different make.conf files for make
> or is it easier to just edit this file before each build?
>
That is what I do when I build 5.x, 6.x, and 7-CURRENT on the same
server by creating multiple make.conf files.

You just need to define the _MAKE_CONF variable for the appropriate OS
that you are building:

make _MAKE_CONF=/etc/make.conf.6x [build|install]world

make _MAKE_CONF=/etc/make.conf.6x [build|install]kernel

If your installing the build on another host, you just have to make
sure that the /etc/make.conf.* on the build server matches the
/etc/make.conf on the target system.

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-stable mailing list