Re: [edk2] Reusing Build Results

Subject: Re: [edk2] Reusing Build Results

From: Andrew Fish <afish@apple.com>

To: edk2-devel@lists.sourceforge.net

Date: 2012-03-14 21:17:57

Shea,

The complete project builds from a single .DSC/.FDF file. You only build the modules that are required. 

The "building block" packages can be built independently, but this is generally only used by the package maintainers or some one porting a new compiler to make sure every thing compiles. 
build -p MdePkg/MdePkg.dsc
build -p MdeModulePkg/MdeModulePkg.dsc

Note: This is also why these .dsc files list libraries int he component section. It is a way to force all the library instances to build. Normally you only build the subset of libraries required. 
So for example when you build MdePkg it should build everything in that package. When you build MdeModulePkg it should build everything in the MdeModulePkg and any library classes needed to build MdeModulePkg modules. The build results for each DSC file go to a different place, and one build does not reach into the build result of another package. 

I Hope this helped.

Andrew Fish





On Mar 14, 2012, at 12:26 PM, Shea Levy wrote:

> Hello,
> 
> Is there any way to tell the EDK "I've already built this dependency, 
> here are its libs, no need to rebuild"? Following the instructions at 
> https://wiki.ubuntu.com/UEFI-howto, the build log for building 
> MdeModulePkg is identical except for timestamps whether or not I build 
> MdePkg manually first, and the build log for MdeModulePkg and that for 
> MdePkg show significant overlap in some library compilation.
> 
> Thanks,
> Shea Levy
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel