From owner-freebsd-arch@FreeBSD.ORG Tue May 7 20:05:09 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 81992D9D; Tue, 7 May 2013 20:05:09 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-bk0-x22c.google.com (mail-bk0-x22c.google.com [IPv6:2a00:1450:4008:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id E4316F1B; Tue, 7 May 2013 20:05:08 +0000 (UTC) Received: by mail-bk0-f44.google.com with SMTP id jk13so506121bkc.17 for ; Tue, 07 May 2013 13:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type; bh=QBGzN5fFjOOX55XtoubzVGxSa13CrKBuemTbsXRlK8s=; b=BRD5Gk84VRFJJQOt2b2kw52FJrzK3ZCBagMJKccxfpszihITTsLUiDX02Ho4cjMNhP dqNPFP97/kIdNXcbGVR6tZTjfojHZ2G4g3e56R4UVKffsZ4nSgrr4qw2CPW4SpJ+7+cm DVIVSb4/mMtKeiDFtjUjpwTDPnNnaBL9RWJvIskCw2bkXjdluwUCcIkjaYdzDAovLWko DJMBLCbX9N+znCUNRH5AnOy6Q604PaR2RT7MJWjxlcWp1swMCLT1EhjOLU1cZp1aYHlO mTIQHKvXhP+ZKnLr0M+FAztqFikzzfdzy22gcaGEs+EZZ1Eu9XwHCufOlyGA5Cb0tsOH Fuhg== MIME-Version: 1.0 X-Received: by 10.205.36.138 with SMTP id ta10mr1022195bkb.4.1367957108077; Tue, 07 May 2013 13:05:08 -0700 (PDT) Received: by 10.204.225.206 with HTTP; Tue, 7 May 2013 13:05:07 -0700 (PDT) Date: Tue, 7 May 2013 13:05:07 -0700 Message-ID: Subject: [RFC] adding a variable to .mk and Makefile.inc1 to point to top of the FreeBSD source tree From: Garrett Cooper To: freebsd-toolchain@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "Simon J. Gerraty" , "freebsd-arch@FreeBSD.org Arch" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 May 2013 20:05:09 -0000 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? Thanks! -Garrett