mirror of https://github.com/acidanthera/audk.git
Added synchronized to getCommandSetting to solve multi-thread build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1546 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ac66fadf6f
commit
2f2c367ad8
|
@ -726,7 +726,7 @@ public class GlobalData {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getCommandSetting(String[] commandDescription, FpdModuleIdentification fpdModuleId) throws EdkException {
|
public synchronized static String getCommandSetting(String[] commandDescription, FpdModuleIdentification fpdModuleId) throws EdkException {
|
||||||
ToolChainKey toolChainKey = new ToolChainKey(commandDescription);
|
ToolChainKey toolChainKey = new ToolChainKey(commandDescription);
|
||||||
ToolChainMap toolChainConfig = toolsDef.getConfig();
|
ToolChainMap toolChainConfig = toolsDef.getConfig();
|
||||||
String setting = null;
|
String setting = null;
|
||||||
|
|
Loading…
Reference in New Issue