mirror of https://github.com/acidanthera/audk.git
Fixed EDKT549 by adding code to check if the module is binary or not before generating AutoGen.h/.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2580 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
627c1d22d9
commit
a6a0e0246f
|
@ -623,10 +623,12 @@ public class GenBuildTask extends Ant {
|
|||
|
||||
private void applyBuild(String buildTarget, String buildTagname, FpdModuleIdentification fpdModuleId) throws EdkException {
|
||||
//
|
||||
// Call AutoGen to generate AutoGen.c and AutoGen.h
|
||||
// Call AutoGen to generate AutoGen.c and AutoGen.h for non-binary module
|
||||
//
|
||||
AutoGen autogen = new AutoGen(getProject().getProperty("FV_DIR"), getProject().getProperty("DEST_DIR_DEBUG"), fpdModuleId.getModule(),fpdModuleId.getArch(), saq, parentId);
|
||||
autogen.genAutogen();
|
||||
if (!fpdModuleId.getModule().isBinary()) {
|
||||
AutoGen autogen = new AutoGen(getProject().getProperty("FV_DIR"), getProject().getProperty("DEST_DIR_DEBUG"), fpdModuleId.getModule(),fpdModuleId.getArch(), saq, parentId);
|
||||
autogen.genAutogen();
|
||||
}
|
||||
|
||||
//
|
||||
// Get compiler flags
|
||||
|
|
Loading…
Reference in New Issue