From owner-freebsd-current@FreeBSD.ORG Thu May 14 14:55:19 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6880E106566B for ; Thu, 14 May 2009 14:55:19 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6B18FC15 for ; Thu, 14 May 2009 14:55:19 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 926E2FF56; Fri, 15 May 2009 02:55:18 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GoydHlCcVvPf; Fri, 15 May 2009 02:55:11 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Fri, 15 May 2009 02:55:11 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id B113F11432; Fri, 15 May 2009 02:55:10 +1200 (NZST) Date: Thu, 14 May 2009 07:55:10 -0700 From: Andrew Thompson To: Jon Loeliger Message-ID: <20090514145510.GA5507@citylink.fud.org.nz> References: <20090513170028.GA96051@citylink.fud.org.nz> <20090513175000.GA2635@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@freebsd.org Subject: Re: Building boot2 for ixp425 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 14:55:19 -0000 On Wed, May 13, 2009 at 05:02:04PM -0500, Jon Loeliger wrote: > > > > The buildenv command is the one that spawns a new shell with all the > > correct paths to use the new compiler. just do the kernel-toolchain > > before it, as in. > > > > make TARGET_ARCH=arm TARGET_CPUTYPE=xscale \ > > TARGET_BIG_ENDIAN=true kernel-toolchain > > > > make TARGET_ARCH=arm TARGET_CPUTYPE=xscale \ > > TARGET_BIG_ENDIAN=true buildenv > > > > cd sys/boot/arm/ixp425/boot2/ > > make > > > > That should work :) > > But alas, it did not. Ok, rather than flogging this more just do a buildworld first, make TARGET_ARCH=arm TARGET_CPUTYPE=xscale \ TARGET_BIG_ENDIAN=true buildworld make TARGET_ARCH=arm TARGET_CPUTYPE=xscale \ TARGET_BIG_ENDIAN=true buildenv cd sys/boot/arm/ixp425/boot2/ make