summaryrefslogtreecommitdiff
path: root/Tools/Source/FrameworkTasks
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-09 21:14:37 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-09 21:14:37 +0000
commit1507f64ec4bd382969bc98f16f0249b4e9b4e3c0 (patch)
tree6d7a93e5e79eb85d4ce2900a92389dee77f9deba /Tools/Source/FrameworkTasks
parent6de5f959d627648b33a2a7275c35bb9fd6856a26 (diff)
downloadedk2-platforms-1507f64ec4bd382969bc98f16f0249b4e9b4e3c0.tar.xz
One GenFvImage can handle all archs now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@459 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source/FrameworkTasks')
-rw-r--r--Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFvImageTask.java43
1 files changed, 1 insertions, 42 deletions
diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFvImageTask.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFvImageTask.java
index f9340758b3..ae47ec7ff4 100644
--- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFvImageTask.java
+++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFvImageTask.java
@@ -34,10 +34,6 @@ public class GenFvImageTask extends Task implements EfiDefine{
/// The name of input inf file
///
private String infFile="";
- ///
- /// The target architecture.
- ///
- private String arch="";
/**
execute
@@ -56,25 +52,8 @@ public class GenFvImageTask extends Task implements EfiDefine{
path = path + File.separatorChar;
}
- // FIXME arch should be passed via schema attributes.
- arch=System.getenv("ARCH");
- if (arch == null) {
- arch = "";
- }
- // FIXME end
+ command = path + "GenFvImage";
- if (arch.equalsIgnoreCase("IA32")){
- command = path + "GenFvImage_Ia32";
- }
- else if (arch.equalsIgnoreCase("X64")){
- command = path + "GenFvImage_X64";
- }
- else if (arch.equalsIgnoreCase("IPF")){
- command = path + "GenFvImage_Ipf";
- }
- else {
- command = path + "GenFvImage";
- }
String argument = infFile;
try {
@@ -138,24 +117,4 @@ public class GenFvImageTask extends Task implements EfiDefine{
this.infFile = "-I " + infFile;
}
- /**
- getArch
-
- This function is to get class member of arch.
- @return The target architecture.
- **/
- public String getArch() {
- return arch;
- }
-
- /**
- setArch
-
- This function is to set class member of arch.
-
- @param arch The target architecture.
- **/
- public void setArch(String arch) {
- this.arch = arch;
- }
}