Source-Changes-D archive

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

Re: use of bsd.sys.mk



In article <20140112084313.GN18210%apb-laptoy.apb.alt.za@localhost>,
Alan Barrett  <apb%cequrux.com@localhost> wrote:
>On Fri, 10 Jan 2014, Christos Zoulas wrote:
>>Module Name:  src
>>Committed By: christos
>>Date:         Fri Jan 10 15:50:34 UTC 2014
>>
>>Modified Files:
>>      src/external/mit/xorg/server/xorg-server/hw/xfree86/common: Makefile
>>
>>Log Message:
>>don't include bsd.sys.mk
>
>bsd.sys.mk is needed to get the value of HOST_SH, which is used in a
>"!=" line.
>
>At present, Makefiles that use assorted HOST_* tools in "!=" 
>lines usually include bsd.sys.mk to get the variable definitions 
>sufficiently early.  If you don't want them to do that, then we 
>need to find a way that works.  Perhaps a lot of the variable 
>definitions from bsd.sys.mk can be moved to bsd.own.mk, or a file 
>that's included by bsd.own.mk.
>
>Also, if you think that Makefiles should not include bsd.sys.mk, 
>then please edit share/mk/bsd.README to document how things should 
>be done.

I will, but this ended up being a lot more complicated that I thought
since the HOST_ variables are defined in bsd.own.mk and bsd.sys.mk for
no particularly good reason.

christos



Home | Main Index | Thread Index | Old Index