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

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.

Ian.

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