Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2007 18:29:25 -0400
From:      "Z.C.B." <v.velox@vvelox.net>
To:        Mike Meyer <mwm@mired.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: building images for running from flash
Message-ID:  <20070613182925.5b26696b@vixen42>
In-Reply-To: <18031.63514.578231.63127@bhuda.mired.org>
References:  <20070613020642.463afff4@vixen42> <18031.63514.578231.63127@bhuda.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 Jun 2007 09:58:50 -0400
Mike Meyer <mwm@mired.org> wrote:

> In <20070613020642.463afff4@vixen42>, Z.C.B. <v.velox@vvelox.net>
> typed:
> > Another annoying issue is the muckery involved
> > with /etc/make.conf... The issue I am running into that is the
> > CPUTYPE? option is different for the build machine and router
> > that the flash will be used on. Any nice way to deal with this?
> 
> If they are different implementations of the same architecture, you
> can set CPUTYPE to the lower of the two. For the kernel and world,
> you can set TARGET_ARCH= on the make line, and it will
> cross-compile the world for you (assuming your compiler can
> generate code for that architecture.

Setting CPUTYPE in /etc/make.conf is exactly what I am trying to
avoid.

The big question is still what to do about the ports.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070613182925.5b26696b>