diff --git a/BaseTools/Bin/Win32/GenFds.exe b/BaseTools/Bin/Win32/GenFds.exe index 93ab585c4e..01d175fd88 100755 Binary files a/BaseTools/Bin/Win32/GenFds.exe and b/BaseTools/Bin/Win32/GenFds.exe differ diff --git a/BaseTools/Bin/Win32/build.exe b/BaseTools/Bin/Win32/build.exe index 6ccb242549..73148ee602 100755 Binary files a/BaseTools/Bin/Win32/build.exe and b/BaseTools/Bin/Win32/build.exe differ diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index 4f68ddc6c1..d3b8e7ccc3 100644 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -200,20 +200,19 @@ [Static-Library-File] - ?.lib + *.lib - $(LIBS) $(MAKE_FILE) $(DEBUG_DIR)(+)$(MODULE_NAME).dll - "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) $(LIBS) ${src} + "$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) ${src} - "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(LIBS) ${src} -\) $(DLINK2_FLAGS) + "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) ${src} -\) $(DLINK2_FLAGS) [Dynamic-Library-File] diff --git a/BaseTools/Conf/target.template b/BaseTools/Conf/target.template index 5623e7b303..5ce56d3fe8 100644 --- a/BaseTools/Conf/target.template +++ b/BaseTools/Conf/target.template @@ -58,17 +58,9 @@ TOOL_CHAIN_CONF = Conf/tools_def.txt # used for the build. The list uses space character separation. TOOL_CHAIN_TAG = MYTOOLS -# MULTIPLE_THREAD FLAG Optional Flag to enable multi-thread build. If not specified, default -# is "Disable". If your computer is multi-core or multiple CPUs, -# enabling this feature will bring much benefit. -# This feature is only available for "spawn" build mode, and -# only for PLATFORM build. The clean, cleanall or -# stand-alone module build is still using the normal way. -MULTIPLE_THREAD = Enable - -# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number of concurrent threads. Default is 1. Recommend to -# set this value to one more than the number of your compurter -# cores or CPUs. +# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number of concurrent threads. Recommend to set this +# value to one more than the number of your compurter +# cores or CPUs. Less than 2 means disable multithread build. MAX_CONCURRENT_THREAD_NUMBER = 1 # Build rules definition