diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-04-26 02:53:19 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-04-26 02:53:19 +0000 |
commit | a6a0e0246fa9de2c34427b26abcb40ffa366d2b1 (patch) | |
tree | 79476946521cfc67a93f707fa47a8c2cc73f5205 /Tools/Java | |
parent | 627c1d22d9d9e82ee350a03bebc94f1101f96b59 (diff) | |
download | edk2-platforms-a6a0e0246fa9de2c34427b26abcb40ffa366d2b1.tar.xz |
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/Java')
-rw-r--r-- | Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java | 8 |
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
|