summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-26 02:53:19 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-04-26 02:53:19 +0000
commita6a0e0246fa9de2c34427b26abcb40ffa366d2b1 (patch)
tree79476946521cfc67a93f707fa47a8c2cc73f5205 /Tools
parent627c1d22d9d9e82ee350a03bebc94f1101f96b59 (diff)
downloadedk2-a6a0e0246fa9de2c34427b26abcb40ffa366d2b1.tar.gz
edk2-a6a0e0246fa9de2c34427b26abcb40ffa366d2b1.tar.bz2
edk2-a6a0e0246fa9de2c34427b26abcb40ffa366d2b1.zip
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
Diffstat (limited to 'Tools')
-rw-r--r--Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java b/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java
index 468b5f9ecc..2225a56edb 100644
--- a/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java
+++ b/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java
@@ -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