tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make: exporting MAKEOBJDIR



On Wed, 2 Jun 2010 17:51:41 +0100, David Laight writes:
>On Tue, Jun 01, 2010 at 11:39:44AM -0700, Simon Gerraty wrote:
>> For several years, make has allowed for doing cool things
>> by putting something like this
>> 
>> MAKEOBJDIR="\${.CURDIR:S,${SRCTOP},${OBJPREFIX}\${MACHINE},}"
>> 
>> in the environment.  This allows for a more consistent/neat .OBJDIR value
>> than MAKEOBJDIRPREFIX allows when the src is mounted via amd etc.
>
>I've thought about implementing MAKEOBJDIRPREFIX that way ....

Would it be helpful to document the above in the man page?


Home | Main Index | Thread Index | Old Index