From owner-freebsd-toolchain@FreeBSD.ORG Tue May 7 20:39:08 2013 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 63F2D729; Tue, 7 May 2013 20:39:08 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id A561EC7; Tue, 7 May 2013 20:39:07 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id r47Kd6fd058035; Tue, 7 May 2013 15:39:06 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id r47Kd6nM058034; Tue, 7 May 2013 15:39:06 -0500 (CDT) (envelope-from brooks) Date: Tue, 7 May 2013 15:39:06 -0500 From: Brooks Davis To: Garrett Cooper Subject: Re: [RFC] adding a variable to .mk and Makefile.inc1 to point to top of the FreeBSD source tree Message-ID: <20130507203906.GB40460@lor.one-eyed-alien.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rS8CxjVDS/+yyDmU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-arch@FreeBSD.org Arch" , freebsd-toolchain@freebsd.org, "Simon J. Gerraty" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2013 20:39:08 -0000 --rS8CxjVDS/+yyDmU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 07, 2013 at 01:05:07PM -0700, Garrett Cooper wrote: > Hi, > A common pattern that I've seen at Isilon and something else that I've > wanted to have for a while is the ability to designate where the top of a > source tree was. This is important and helpful when dealing with source > files that build upon each other or depend on sources located in other > sections of the tree; contrib stuff needs to set .PATH appropriately to > point to sources at the top of the tree, sys stuff is riddled with S= in > order to point to where /sys, etc lives, we build upon FreeBSD within an > expected directory structure as well. > I haven't come up with a name, but was wondering if this was a good > idea, and if so does anyone have any outstanding patches for this that can > be pushed into FreeBSD? I'd like to see this. There's a variable for this in NetBSD and I've wanted to do this because it makes code easier to relocate within the tree. -- Brooks --rS8CxjVDS/+yyDmU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFRiWZpXY6L6fI4GtQRAi8HAJ0fOeFrOZQuxZ7XIDQrZcpufMRVPgCff47g CxnMzuy2Rf0RdQhOTFWH0Tw= =zNT2 -----END PGP SIGNATURE----- --rS8CxjVDS/+yyDmU--