From owner-freebsd-toolchain@FreeBSD.ORG Tue May 7 20:46:40 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 845C6946; Tue, 7 May 2013 20:46:40 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) by mx1.freebsd.org (Postfix) with ESMTP id 54E20128; Tue, 7 May 2013 20:46:40 +0000 (UTC) Received: by mail-pd0-f170.google.com with SMTP id 10so697706pdi.1 for ; Tue, 07 May 2013 13:46:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=8OUq4e37wdvhYb3hEQxBfGARm7P1YixLzowWlb9ecnI=; b=Zib7s+PC8atxzjjw69geZ8hBD/w8DCoTFgCIK4ZtGSfdXc4L4iCo6YZbRQ7hsBbdte pQDLvSn5VbvP4EhlN2UfASpi19A07Gnyc+ISXCIvI4PIPtteDXNT5JWqv2TLFRbsC6/z bNnbH7AkxEgNIxidLpQfCvNaDaO8nXPZT5RJLAjrdIL+Op9zeBKWIerjmUmaGx/KU7sT Xg2lgOoppOYFySdDzj57s/0KTeuRm/yLH7qR1J3IAql9O2faRnbcENsEoUrT14hINbFW AFI+OZaP1mGcJ/Hrt2kZ1Gex5LXI606aJBEhkytIkk43REtAnw/1hOHwW1MX6D6IMiAc RnEg== X-Received: by 10.66.121.202 with SMTP id lm10mr4679081pab.138.1367959599760; Tue, 07 May 2013 13:46:39 -0700 (PDT) Received: from [192.168.242.58] (c-67-182-131-225.hsd1.wa.comcast.net. [67.182.131.225]) by mx.google.com with ESMTPSA id sa6sm29509099pbb.26.2013.05.07.13.46.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 May 2013 13:46:38 -0700 (PDT) Subject: Re: [RFC] adding a variable to .mk and Makefile.inc1 to point to top of the FreeBSD source tree Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Garrett Cooper In-Reply-To: <20130507203906.GB40460@lor.one-eyed-alien.net> Date: Tue, 7 May 2013 13:46:36 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <2E2C2F74-A25B-4B9F-84C4-0A434B8C7EE6@gmail.com> References: <20130507203906.GB40460@lor.one-eyed-alien.net> To: Brooks Davis X-Mailer: Apple Mail (2.1283) 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:46:40 -0000 On May 7, 2013, at 1:39 PM, Brooks Davis wrote: > 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=3D= 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? >=20 > 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. This is another good reason. It would make porting code to/from = NetBSD a LOT easier=85 especially because I plan on pulling a lot of = test/test infrastructure code from NetBSD and I really don't want to = commit too many local changes to the Makefiles. Less divergence -> = better cross-pollination -> less work for all -> win for the BSDs. Thanks for the reminder.. I'll base it off what NetBSD did :). Thanks, -Garrett=