From owner-svn-src-all@FreeBSD.ORG Mon Sep 9 17:51:05 2013 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8BE6CA8E; Mon, 9 Sep 2013 17:51:05 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4B9E828AE; Mon, 9 Sep 2013 17:51:05 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id 4E6C34B8E; Mon, 9 Sep 2013 17:50:58 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 7317336224; Mon, 9 Sep 2013 19:50:28 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Ian Lepore Subject: Re: svn commit: r255413 - in head/etc: . etc.amd64 References: <201309090602.r8962UIc080584@svn.freebsd.org> <522DEFC8.3010704@FreeBSD.org> <86li360yeo.fsf@nine.des.no> <1378743775.1111.573.camel@revolution.hippie.lan> <8638pd99sq.fsf@nine.des.no> Date: Mon, 09 Sep 2013 19:50:28 +0200 In-Reply-To: <8638pd99sq.fsf@nine.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8r?= =?utf-8?Q?grav=22's?= message of "Mon, 09 Sep 2013 19:36:37 +0200") Message-ID: <86sixd7ul7.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Jase Thew X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2013 17:51:05 -0000 Dag-Erling Sm=C3=B8rgrav writes: > Ian Lepore writes: > > That doesn't sound right... what if you're doing a cross-build/install? > My thoughts exactly, but judging from the rest of the Makefile, the > correct variable is MACHINE_ARCH, not TARGET_ARCH. This (in Makefile.inc1) is why it works: CROSSENV=3D MAKEOBJDIRPREFIX=3D${OBJTREE} \ MACHINE_ARCH=3D${TARGET_ARCH} \ MACHINE=3D${TARGET} \ CPUTYPE=3D${TARGET_CPUTYPE} # ... distrib-dirs distribution: cd ${.CURDIR}/etc; ${CROSSENV} PATH=3D${TMPPATH} ${MAKE} \ ${IMAKE_INSTALL} ${IMAKE_MTREE} METALOG=3D${METALOG} ${.TARGET} although I would have written it differently: distrib-dirs distribution: (cd ${.CURDIR}/etc && ${CROSSENV} PATH=3D${TMPPATH} ${MAKE} \ ${IMAKE_INSTALL} ${IMAKE_MTREE} METALOG=3D${METALOG} ${.TARGET}) but that's a nit. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no