building images for running from flash

Z.C.B. v.velox at vvelox.net
Wed Jun 13 22:28:35 UTC 2007


On Wed, 13 Jun 2007 09:58:50 -0400
Mike Meyer <mwm at mired.org> wrote:

> In <20070613020642.463afff4 at vixen42>, Z.C.B. <v.velox at 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.


More information about the freebsd-hackers mailing list