[RFC] adding a variable to .mk and Makefile.inc1 to point to top of the FreeBSD source tree

Brooks Davis brooks at freebsd.org
Tue May 7 20:39:08 UTC 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20130507/bd567377/attachment.sig>


More information about the freebsd-arch mailing list