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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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



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