]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/GenBuild/org/tianocore/build/GenBuildTask.java
Fixed EDKT111
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / GenBuildTask.java
index bac506abfa3f0161ff999a6c096b326474b77f2a..1c97da282527634e1b486c76334ae9b9f555d0c2 100644 (file)
@@ -194,14 +194,7 @@ public class GenBuildTask extends Ant {
         // If single module : intersection MSA supported ARCHs and tools def!!\r
         // else, get arch from pass down\r
         //\r
         // If single module : intersection MSA supported ARCHs and tools def!!\r
         // else, get arch from pass down\r
         //\r
-        String[] archList = new String[0];\r
-        if ( getProject().getProperty("ARCH") != null ) {\r
-            archList = getProject().getProperty("ARCH").split(" ");\r
-        }\r
-        else {\r
-            archList = GlobalData.getToolChainInfo().getArchs();\r
-        }\r
-        \r
+        String[] archList = GlobalData.getToolChainInfo().getArchs();        \r
         \r
         //\r
         // Judge if arch is all supported by current module. If not, throw Exception.\r
         \r
         //\r
         // Judge if arch is all supported by current module. If not, throw Exception.\r