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

2013-05-08 Thread Warner Losh
On May 7, 2013, at 11:41 PM, Simon J. Gerraty wrote: On Tue, 7 May 2013 21:25:37 -0600, Warner Losh writes: where does MAKEOBJDIRPREFIX come into play? I don't normally use it, it is a handy but rather crude implement. I normally use MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'

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

2013-05-07 Thread Garrett Cooper
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

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

2013-05-07 Thread Garrett Cooper
On Tue, May 7, 2013 at 1:12 PM, Xin Li delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/07/13 13:05, 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

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

2013-05-07 Thread Warner Losh
On May 7, 2013, at 9:42 PM, Garrett Cooper wrote: On Tue, May 7, 2013 at 2:26 PM, Garrett Cooper yaneg...@gmail.com wrote: On Tue, May 7, 2013 at 2:00 PM, Warner Losh i...@bsdimp.com wrote: On May 7, 2013, at 2:46 PM, Garrett Cooper wrote: On May 7, 2013, at 1:39 PM, Brooks Davis

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

2013-05-07 Thread Garrett Cooper
On May 7, 2013, at 10:09 PM, Warner Losh i...@bsdimp.com wrote: On May 7, 2013, at 9:42 PM, Garrett Cooper wrote: On Tue, May 7, 2013 at 2:26 PM, Garrett Cooper yaneg...@gmail.com wrote: On Tue, May 7, 2013 at 2:00 PM, Warner Losh i...@bsdimp.com wrote: On May 7, 2013, at 2:46 PM,