Andrew:
Rule file has two styles. ?.c, or *.obj. ? is for single file, * is for all
files.
For your case, what's your output? Z.bin? If so, you can add rule for ?.xyz
to create .xyz2, then add rule for *.xyz2 to $(BASE_NAME).bin
Thanks
Liming
From: Andrew Fish [mailto:[email protected]]
Sent: Friday, November 8, 2013 1:19 AM
To: [email protected]
Cc: Gao, Liming; [email protected]
Subject: Re: [edk2] [edk2-buildtools] How to do something like link with items
other than libraries?
On Nov 6, 2013, at 11:41 PM, Andrew Fish
<[email protected]<mailto:[email protected]>> wrote:
On Nov 6, 2013, at 11:34 PM, Gao, Liming
<[email protected]<mailto:[email protected]>> wrote:
Andrew:
EDKII build system bases on file postfix name to handle them. For new postfix
name, you may extend build_rule.txt file to add new rule for it.
I know that I can chain via names, but this does not solve issues with parallel
builds.
Lets say I have A.xyz, B.xyz and I have a rule that processes them into A.xyz2,
and B.xyz2, but now the output I wan't is Z.ABC. I don't know how to make Z
depend on A & B. Libraries do this by creating a makefile dependency and a list
of files. I can't figure out how to do this with the rules that exist. It seems
libraries are special cased in the Python code.
So the only way I can think to solve this is to include A.xzy and B.xyz into a
single file, and then use the standard build chaining. The parser I was using
was having issues with this, so I was thinking of another way to do it.
I figured out a simple way to fix my parser, but this was an interesting
limitation of the build system, due to not supporting customer makefiles, so I
thought I would post it to the list...
Thanks,
Andrew Fish
Thanks,
Andrew Fish
Thanks
Liming
-----Original Message-----
From: Andrew Fish [mailto:[email protected]]
Sent: Thursday, November 07, 2013 11:54 AM
To:
[email protected]<mailto:[email protected]>
Cc: [email protected]<mailto:[email protected]>
Subject: [edk2-buildtools] How to do something like link with items other than
libraries?
I'd like like to have an INF file that is full of *.XYZ files that get run
through the C pre-processor and converted to an intermediate form. I would like
to take set of intermediate files and post process them info a single .bin file
that will then end up in an FFS file.
What is the best way to do this with the edk2 build system.
Thanks,
Andrew Fish
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers Accelerate application
performance with scalable programming models. Explore techniques for threading,
error checking, porting, and tuning. Get the most from the latest Intel
processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
edk2-buildtools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel