]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/Tool.java
Modify GenFfsTask to make it don't create ORG file.
[mirror_edk2.git] / Tools / Source / FrameworkTasks / org / tianocore / framework / tasks / Tool.java
index 67e0a865a675abaebd1c8c751e52594124ee61c3..4cc4d374c43136b7a3a6eaaf0de712d62fd57c1e 100644 (file)
@@ -39,7 +39,7 @@ public class Tool implements EfiDefine, Section {
 \r
      @param     buffer  The buffer to put the result with alignment\r
      **/\r
-    public void toBuffer (DataOutputStream buffer, DataOutputStream orgBuffer){\r
+    public void toBuffer (DataOutputStream buffer){\r
         File           OutputFile;\r
         byte           data;\r
 \r
@@ -72,10 +72,6 @@ public class Tool implements EfiDefine, Section {
             while (i < fileLen) {\r
                 data = In.readByte();\r
                 buffer.writeByte(data);\r
-                //\r
-                // Add data to org file\r
-                //\r
-                orgBuffer.writeByte(data);\r
                 i ++;\r
             }\r
 \r
@@ -85,7 +81,6 @@ public class Tool implements EfiDefine, Section {
             while ((fileLen & 0x03) != 0) {\r
                 fileLen++;\r
                 buffer.writeByte(0);\r
-                orgBuffer.writeByte(0);\r
             }\r
             In.close();\r
 \r