summaryrefslogtreecommitdiff
path: root/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java')
-rw-r--r--Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java20
1 files changed, 16 insertions, 4 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
index f1e9c5b..62bb4c6 100644
--- a/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
+++ b/Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
@@ -408,8 +408,14 @@ public class AutoGen {
// isPCDEmulatedDriver parameter will be removed.
//
try {
- this.myPcdAutogen = new PCDAutoGenAction(baseName,
- baseName.equalsIgnoreCase("PcdEmulatorPeim"));
+ this.myPcdAutogen = new PCDAutoGenAction(baseName,
+ null,
+ null,
+ null,
+ this.arch,
+ null,
+ baseName.equalsIgnoreCase("PcdEmulatorPeim"),
+ false);
this.myPcdAutogen.execute();
} catch (Exception e) {
throw new BuildException("PCD Autogen failed:" + e.getMessage());
@@ -543,8 +549,14 @@ public class AutoGen {
// isPCDEmulatedDriver parameter will be removed.
//
try {
- this.myPcdAutogen = new PCDAutoGenAction(baseName, baseName
- .equalsIgnoreCase("PcdEmulatorPeim"));
+ this.myPcdAutogen = new PCDAutoGenAction(baseName,
+ null,
+ null,
+ null,
+ this.arch,
+ null,
+ baseName.equalsIgnoreCase("PcdEmulatorPeim"),
+ true);
this.myPcdAutogen.execute();
} catch (Exception e) {
throw new BuildException(e.getMessage());