From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 4 21:36:59 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E25C106566C for ; Sun, 4 Jan 2009 21:36:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id EDF9B8FC17 for ; Sun, 4 Jan 2009 21:36:58 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 18550 invoked by uid 399); 4 Jan 2009 21:10:19 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 4 Jan 2009 21:10:19 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <496125BA.1080902@FreeBSD.org> Date: Sun, 04 Jan 2009 13:10:18 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090102) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: bsd.obj.mk does not set CANONICALOBJDIR correctly when TARGET_ARCH and MAKEOBJDIRPREFIX are set X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2009 21:36:59 -0000 Ruslan Ermilov wrote: > mergemaster.sh uses "obj" and "all" targets which aren't cross-build > aware (don't take ${TARGET} into account) to build etc/ bits, and then > "distribution" target (which is cross-build aware) to install then. > The effect of this is that you end up with "build" and "install" targets > having different ideas of MAKEOBJDIRPREFIX. The fix is to use cross-aware > versions of "obj" and "all" targets: Thanks for responding. I was working on this the other day and discovered that the reason my suggested change "worked" was really an unintended side effect. Your suggestion works great, so I've committed it. Doug -- This .signature sanitized for your protection