mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
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 {
|
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
|
||||||
//
|
//
|
||||||
|
if (!fpdModuleId.getModule().isBinary()) {
|
||||||
AutoGen autogen = new AutoGen(getProject().getProperty("FV_DIR"), getProject().getProperty("DEST_DIR_DEBUG"), fpdModuleId.getModule(),fpdModuleId.getArch(), saq, parentId);
|
AutoGen autogen = new AutoGen(getProject().getProperty("FV_DIR"), getProject().getProperty("DEST_DIR_DEBUG"), fpdModuleId.getModule(),fpdModuleId.getArch(), saq, parentId);
|
||||||
autogen.genAutogen();
|
autogen.genAutogen();
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Get compiler flags
|
// Get compiler flags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user