We have a need to have one FD image embedded in another (two copies of an 
identical FD image).

So in our platform FDF file we'd like to define one FD for the "outer" region 
and another FD for the "inner" region.  We then would like to specify in the 
outer FD a file that is the inner FD.

Something like:

[FD.Outer]
<header sutff>

0x00000000|0x00100000
FILE = INNER.fd

[FD.Inner]
<the usual FV stuff>

For this to work the build either needs to understand the dependency or at 
least have deterministic ordering for evaluating FDs so we can ensure that the 
inner one is created before the outer one.  If this approach doesn't work, are 
there other recommendations for how to nest FDs?  I've found that invoking 
build twice is expensive since the second invocation may try to do builds when 
we only want the Outer FDF to be processed.

I was hoping to find a way to solve this under the existing build specs and 
BaseTools implementation but if this isn't possible then we could discuss 
extending the FDF syntax to allow a new "FD = <FdUiName>" region within the 
[FD] section to specify explicit FD nesting.  

Thanks for the help,

Eugene

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to