From owner-freebsd-arm@FreeBSD.ORG Wed Mar 27 21:13:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C2AD8DEE for ; Wed, 27 Mar 2013 21:13:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 8F128120 for ; Wed, 27 Mar 2013 21:13:35 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id a11so10507309iee.39 for ; Wed, 27 Mar 2013 14:13:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=D0C04NyusJjxWRl0vjmjUJFWxc4UIEAFWNRJeIgDPy4=; b=PMCaJQur2li5QZSggqpthFRKRephBpblv5TwDdY6ys72b2hpwI9mVtTUHxG9YeFX+i OpDKw2e9xVDyNSV+bV72iFAnuoqzcDw5LIEbq2sZ0Uhc4T4rV8p3g5INvtaB5lHtl2Eb ZWzErSZDq+2yvdkgQ1K0ZMIuqq9K1Bq2FEcizvPmGVPKpCMgcHq3JtpxfrTtOYO1/sun IvOAHdq5a8fldL+blAfd6V/WRtw2fR4CAi7Y8m51Q/MoUVT7E/Bhp6uJIdOlMpfITzvR GYuzc2qcaZAckzOnaJjMrz4TSh4pnjr8MFx5RwbhQWUDxavBhOvn0QzieB7LU5TFNp5B Fm+Q== X-Received: by 10.50.93.3 with SMTP id cq3mr5121445igb.70.1364418815279; Wed, 27 Mar 2013 14:13:35 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id px9sm8745591igc.0.2013.03.27.14.13.32 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Mar 2013 14:13:33 -0700 (PDT) Sender: Warner Losh Subject: Re: RFC: "Crochet" build tool Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 27 Mar 2013 15:13:31 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <36F7C55A-61A1-40D4-A37B-5A942FEF19F7@bsdimp.com> References: <5DFA61DB-70E4-4C3D-ACA0-995A175706C8@neville-neil.com> <5151B454.9090402@ceetonetechnology.com> <1CBF1416-3237-4DCE-8D61-7E998265C887@neville-neil.com> <1364311809.36972.27.camel@revolution.hippie.lan> <5151D045.80305@thieprojects.ch> <5151D9DB.7050001@thieprojects.ch> <167CF57D-01E3-4857-BF0E-C40B00FED226@netgate.com> <6AE34496-58E3-488B-BEE9-07FFB5A06AB3@netgate.com> <610BDDE6-A8EC-4D84-8FAF-1B6014808C24@bsdimp.com> To: Adrian Chadd X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQmk0MQ2xUtqwyqXN6RlMMIvnJVc7wONNxZiKBd5TTepWulNNN5nL9qC4TFHlHwMRjVRaNp0 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 21:13:35 -0000 On Mar 27, 2013, at 10:39 AM, Adrian Chadd wrote: > On 26 March 2013 17:23, Warner Losh wrote: >=20 >>> No, but none of them currently exist for non-x86 platforms, either. >>=20 >> Except that they do. I've built arm images in the past. >=20 > Do you have an example for using ARM + nanobsd? In the past it has been as simple as just setting NANO_ARCH to arm. Mips = required a hack that you set fdisk_mips to fdisk_i386 or something = similar... > One of the big changes I made for my build scripts is to separate out > toolchain/userland building (which is done once for a given > architecture) from kernel building (once per target) from image > building (again, once per target.) >=20 > It'd be nice if we could do something similar in -HEAD. Yes. NanoBSD needs some work in this area... It currently assumes that = you are building the image, not one of many related images, so it = couples those things together... Of course, it would help if the base = supported the external toolchain better, but that should be close... Warner