From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 13 14:00:55 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A114C16A468 for ; Wed, 13 Jun 2007 14:00:55 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id 3019F13C4C6 for ; Wed, 13 Jun 2007 14:00:55 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 17788 invoked by uid 1001); 13 Jun 2007 13:58:50 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Wed, 13 Jun 2007 09:58:50 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18031.63514.578231.63127@bhuda.mired.org> Date: Wed, 13 Jun 2007 09:58:50 -0400 To: "Z.C.B." In-Reply-To: <20070613020642.463afff4@vixen42> References: <20070613020642.463afff4@vixen42> X-Mailer: VM 7.19 under Emacs 21.3.1 X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.1.11 (Ladyburn) From: Mike Meyer Cc: freebsd-hackers@freebsd.org Subject: Re: building images for running from flash X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2007 14:00:55 -0000 In <20070613020642.463afff4@vixen42>, Z.C.B. 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. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.