From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 13 22:28:35 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 96AF216A468 for ; Wed, 13 Jun 2007 22:28:35 +0000 (UTC) (envelope-from SRS0=L4wNFO=LN=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout12.yourhostingaccount.com (mailout12.yourhostingaccount.com [65.254.253.100]) by mx1.freebsd.org (Postfix) with ESMTP id 69B7813C483 for ; Wed, 13 Jun 2007 22:28:35 +0000 (UTC) (envelope-from SRS0=L4wNFO=LN=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan10.yourhostingaccount.com ([10.1.15.10] helo=mailscan10.yourhostingaccount.com) by mailout12.yourhostingaccount.com with esmtp (Exim) id 1HybKM-0001d1-D5 for freebsd-hackers@freebsd.org; Wed, 13 Jun 2007 18:28:34 -0400 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9] ident=exim) by mailscan10.yourhostingaccount.com with spamscanlookuphost (Exim) id 1HybKM-0001cz-CY for freebsd-hackers@freebsd.org; Wed, 13 Jun 2007 18:28:34 -0400 Received: from authsmtp09.yourhostingaccount.com ([10.1.18.9] helo=authsmtp09.yourhostingaccount.com) by mailscan10.yourhostingaccount.com with esmtp (Exim) id 1HybKL-0001bj-9t; Wed, 13 Jun 2007 18:28:33 -0400 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp09.yourhostingaccount.com with esmtpa (Exim) id 1HybKJ-000174-Ua; Wed, 13 Jun 2007 18:28:33 -0400 Date: Wed, 13 Jun 2007 18:29:25 -0400 From: "Z.C.B." To: Mike Meyer 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> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Z.C.B." X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com 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 22:28:35 -0000 On Wed, 13 Jun 2007 09:58:50 -0400 Mike Meyer wrote: > 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. 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.