From owner-freebsd-alpha Thu Oct 25 0:37:53 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id D482937B403 for ; Thu, 25 Oct 2001 00:37:46 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id f9P7bdj68040 for alpha@FreeBSD.org; Thu, 25 Oct 2001 10:37:39 +0300 (EEST) (envelope-from ru) Date: Thu, 25 Oct 2001 10:37:39 +0300 From: Ruslan Ermilov To: alpha@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 Message-ID: <20011025103739.B62879@sunbay.com> Reply-To: Ruslan Ermilov References: <200110250728.f9P7Suo32144@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110250728.f9P7Suo32144@freefall.freebsd.org>; from ru@FreeBSD.org on Thu, Oct 25, 2001 at 12:28:56AM -0700 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I would really appreciate it if someone could check if nowadays alphas can cross-build i386 world or not. On Thu, Oct 25, 2001 at 12:28:56AM -0700, Ruslan Ermilov wrote: > ru 2001/10/25 00:28:56 PDT > > Modified files: > . Makefile.inc1 > Log: > Fix cross-building further. > > Introduce ${TARGET} defaulting to ${MACHINE} which should be set to > whatever your target ${MACHINE} is, and use that with world-related > stages. That is, to build pc98 on alpha, one now needs to set both > TARGET_ARCH=i386 and TARGET=pc98. > > The scope of ${TARGET} is limited to Makefile.inc1 and cross-tools. > > In particular, this change was tested to fix: > > 1. Cross building of "alpha" on i386. The breakage was introduced > by rev. 1.10 to sbin/i386/Makefile (missing ). > > 2. Descending into machine-specific subdirs for a different arch. > Previously, sbin/i386 and usr.sbin/boot0cfg were descended into > when cross-building "alpha" or pc98 on i386. > > 3. Fixes pc98 cross-building which was horribly broken, caused by > not setting MACHINE correctly (most ${MACHINE} == pc98 checking > Makefiles put -DPC98 to CFLAGS). > > Revision Changes Path > 1.220 +16 -14 src/Makefile.inc1 -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message