From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] Add INSTALL file Date: Tue, 21 Oct 2014 14:07:56 +0200 Message-ID: <20141021120756.GA8361@aepfle.de> References: <1413557458-20322-1-git-send-email-olaf@aepfle.de> <5444D19C.3000803@citrix.com> <20141021100145.GB24647@aepfle.de> <544632CA.2070702@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <544632CA.2070702@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Oct 21, Andrew Cooper wrote: > On 21/10/14 11:01, Olaf Hering wrote: > > On Mon, Oct 20, Andrew Cooper wrote: > > > >> On 17/10/14 15:50, Olaf Hering wrote: > >>> +Variables recognized by make > >>> +========================== > >> What about some reference to .config in the top level? It is what I use > >> for providing most of these parameters in a XenServer build. > > Like this? > > > > In addition to pass variables as make options it is also supported to > > create a ".config" file in the toplevel directory. The file will be > > sourced by make(1). It should contain the variables in the form > > "variable := value". The usage of ":=" is prefered to override earlier > > assignments to that variable by make(1). > > > > > > Olaf > > Thats ok, although I am not sure a description of ":=" is strictly > needed - we are not teaching people to use make(1). I think "will be > sourced by make(1)" is sufficient to describe that it is a makefile snippet. Looks like = vs. := works anyway: var := val1 $(info var $(var)) var = val2 $(info var $(var)) var := val3 $(info var $(var)) var = val4 $(info var $(var)) all: # make -f x.mk var val1 var val2 var val3 var val4 I have removed the part about :=. Olaf