WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] tools/check: check for headers and libraries in

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] tools/check: check for headers and libraries in EXTRA_INCLUDES and EXTRA_LIB
From: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Date: Tue, 25 Oct 2011 18:40:16 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 25 Oct 2011 10:44:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jztwWhJO4E4Vty0VX1BHY0n430w+BXHymc7EIBb6lNc=; b=RnRiBTbTK/zpbMZVrJPfeEVb/8ZXk6Pr4XsGp2+BX5TZj8qzgdIxHlAG6lEEz7ZzsD w5fRwCQ/buQmp+LorGItxD0NmyEdbhdd0TScugNodk1tbqHiqyrx0v3zINDk9UAWCA6C q5UlfF0xuOBYpmuctAqIOQFcmM0hIAH1FjgAA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20134.52055.925444.153629@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <8fe2ca552de44aa679be.1318512275@loki> <20124.19527.706498.819017@xxxxxxxxxxxxxxxxxxxxxxxx> <CAPLaKK6=nU4R62KvxK++XGNx0zff89TNYZkTFizZ1wDbMqUBNg@xxxxxxxxxxxxxx> <20125.32034.710835.32455@xxxxxxxxxxxxxxxxxxxxxxxx> <CAPLaKK71zs+0aPd2A6yM_+OPtEfMJZnK2KyHANFxFXgDjms8qQ@xxxxxxxxxxxxxx> <20134.52055.925444.153629@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
2011/10/25 Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>:
> Roger Pau Monné writes ("Re: [Xen-devel] [PATCH] tools/check: check for 
> headers and libraries in EXTRA_INCLUDES and EXTRA_LIB"):
>> And variables where not passed to executed script.
>
> mariner:~/junk> cat t.make
> export TEST=value
>
> target:
>        printenv | grep TEST
> mariner:~/junk> make -f t.make target
> printenv | grep TEST
> TEST=value
> mariner:~/junk>
>
>
> Or if you prefer documentation, here is what Debian's
> make-doc-non-dfsg 3.81-5 has to say:
>
>  5.7.2 Communicating Variables to a Sub-`make'
>  ---------------------------------------------
>
>  ...
>
>     To pass down, or "export", a variable, `make' adds the variable and
>  its value to the environment for running each command.  The sub-`make',
>  in turn, uses the environment to initialize its table of variable
>  values.  *Note Variables from the Environment: Environment.

Sorry for that, I was doing it all wrong, I was reading the make man
page, not the gmake man page, and also I was trying to export the
variables inside the target definition. Anyway, I hope the patch I've
just sent is fine, sorry for the mess and the time you lost on this.

Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel