git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2356
6f19259b-4bc3-4df7-8a09-
765794883524
List moduleSupportedArchs = saq.getModuleSupportedArchs();\r
if (moduleSupportedArchs != null) {\r
for (int k = 0; k < archList.length; k++) {\r
List moduleSupportedArchs = saq.getModuleSupportedArchs();\r
if (moduleSupportedArchs != null) {\r
for (int k = 0; k < archList.length; k++) {\r
- if ( ! moduleSupportedArchs.contains(archList[k])) {\r
- throw new BuildException("Specified architecture [" + archList[k] + "] is not supported by " + moduleId + ". The module " + moduleId + " only supports [" + moduleSupportedArchs + "] architectures.");\r
+ if (!moduleSupportedArchs.contains(archList[k])) {\r
+ EdkLog.log(this, EdkLog.EDK_WARNING, "Specified architecture [" + archList[k] + "] is not supported by " + moduleId + ". The module " + moduleId + " only supports [" + moduleSupportedArchs + "] architectures.");\r
+ archList[k] = "";\r
}\r
\r
for (int k = 0; k < archList.length; k++) {\r
}\r
\r
for (int k = 0; k < archList.length; k++) {\r
+ if (archList[k] == "") {\r
+ continue;\r
+ }\r
\r
getProject().setProperty("ARCH", archList[k]);\r
\r
\r
getProject().setProperty("ARCH", archList[k]);\r
\r