From owner-freebsd-arch@FreeBSD.ORG Mon Feb 14 22:37:25 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CC1016A4D0 for ; Mon, 14 Feb 2005 22:37:25 +0000 (GMT) Received: from mail26.sea5.speakeasy.net (mail26.sea5.speakeasy.net [69.17.117.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7678643D48 for ; Mon, 14 Feb 2005 22:37:24 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 14710 invoked from network); 14 Feb 2005 22:37:24 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail26.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Feb 2005 22:37:24 -0000 Received: from hydrogen.funkthat.com (wvmzsx@localhost.funkthat.com [127.0.0.1])j1EMbOGH041504; Mon, 14 Feb 2005 14:37:24 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id j1EMbNxp041503; Mon, 14 Feb 2005 14:37:23 -0800 (PST) Date: Mon, 14 Feb 2005 14:37:23 -0800 From: John-Mark Gurney To: John Baldwin Message-ID: <20050214223723.GG40468@funkthat.com> Mail-Followup-To: John Baldwin , freebsd-arch@FreeBSD.org, David O'Brien References: <20050213001752.GA40468@funkthat.com> <20050213062910.GC83950@dragon.nuxi.com> <20050213080508.GB40468@funkthat.com> <200502141511.34400.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200502141511.34400.jhb@FreeBSD.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: David O'Brien cc: freebsd-arch@FreeBSD.org Subject: Re: buildenv target X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 22:37:25 -0000 John Baldwin wrote this message on Mon, Feb 14, 2005 at 15:11 -0500: > Did you know that you can just do: > > make kernel-toolchain TARGET_ARCH=arm > make buildkernel TARGeT_ARCH=arm KERNCONF=TS7200 yes, I did, and the problem is that this is extreamly slow if you've only modified one line of one file for testing... Do you build all of your kernels this way?? > That's rather easy. You can even cross-build against a different kernel tree > (I use this a lot for my p4 trees). For example: > > make TARGET_ARCH=amd64 KERNCONF=LINT KERNSRCDIR=/home/john/work/p4/proc \ > buildkernel NO_MODULES=yes > > With repeated builds (e.g. when fixing compile errors) adding > NO_KERNELCLEAN=yes NO_KERNELDEPEND=yes is good as well. I really hate having to remeber and type those everytime that I build a kernel... You're also forgetting NO_KERNELCONFIG=yes to that... since if it's just a typo, you usually don't need a config for a typo... yes, there are other complex solutions, but I'd like a simplier solution, and one that is a lot more friendly to my fingers... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."