building images for running from flash

Mike Meyer mwm-keyword-freebsdhackers2.e313df at mired.org
Wed Jun 13 14:00:55 UTC 2007


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.

	<mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-hackers mailing list