Bob Feng 
							
						 
					 
					
						
						
							
						
						5b4a97bbc3 
					 
					
						
						
							
							BaseTools: Convert Split tool to python  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3165 
There are 2 reasons to convert Split tool from C to Python.
1. We are in the process of moving the Basetools Python code
to a separate repository. But there still are many C tools under
edk2/BaseTools. To make all Basetools be in the separate repo,
we can convert the C tools to Python tools.
2. The original Split tool is very slow. This python tool can reduce
90% time.
Signed-off-by: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Yuwei Chen <yuwei.chen@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
Reviewed-by: Yuwei Chen <yuwei.chen@intel.com > 
						
						
					 
					
						2021-01-21 10:19:09 +00:00 
						 
				 
			
				
					
						
							
							
								Burt Silverman 
							
						 
					 
					
						
						
							
						
						5e5abfcab4 
					 
					
						
						
							
							BaseTools: Robustness for multiple build environments  
						
						... 
						
						
						
						When building BaseTools, GNUmakefile builds create directory
BaseTools/Source/C/libs/. On the other hand, Makefile builds use libs
as an nmake pseudo target, so it either must NOT exist as a file or
directory, OR it must phony dependency like .PHONY. The latter
solution conflicts with NmakeSubdirs.py. Therefore, I make it go away
in the cleanall target. I could also add it to the clean target, but
it strikes me that cleanall should be more forceful.
Signed-off-by: Burt Silverman <burtms@gmail.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2019-09-11 22:30:16 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						28781fd52a 
					 
					
						
						
							
							Revert "BaseTools/BfmLib: Add a tool BfmLib"  
						
						... 
						
						
						
						This reverts commit dc7b0dc8d6leif.lindholm@linaro.org >
Cc: Feng Bob C <bob.c.feng@intel.com >
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Feng Bob C <bob.c.feng@intel.com > 
						
						
					 
					
						2019-07-11 11:17:48 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						064daac0c6 
					 
					
						
						
							
							Revert "BaseTools/FCE: Add a tool FCE"  
						
						... 
						
						
						
						This reverts commit 3c59d94637leif.lindholm@linaro.org >
Cc: Feng Bob C <bob.c.feng@intel.com >
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Feng Bob C <bob.c.feng@intel.com > 
						
						
					 
					
						2019-07-11 11:17:46 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						b9479a7f7b 
					 
					
						
						
							
							Revert "BaseTools/FMMT: Add a tool FMMT"  
						
						... 
						
						
						
						This reverts commit 080981d72dleif.lindholm@linaro.org >
Cc: Feng Bob C <bob.c.feng@intel.com >
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Feng Bob C <bob.c.feng@intel.com > 
						
						
					 
					
						2019-07-11 11:17:44 +08:00 
						 
				 
			
				
					
						
							
							
								Shenglei Zhang 
							
						 
					 
					
						
						
							
						
						080981d72d 
					 
					
						
						
							
							BaseTools/FMMT: Add a tool FMMT  
						
						... 
						
						
						
						FMMT is a tool to enable removal, addition and replacement of
FFS files in FD image binaries.
https://bugzilla.tianocore.org/show_bug.cgi?id=1847 
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2019-07-04 11:34:57 +08:00 
						 
				 
			
				
					
						
							
							
								Shenglei Zhang 
							
						 
					 
					
						
						
							
						
						3c59d94637 
					 
					
						
						
							
							BaseTools/FCE: Add a tool FCE  
						
						... 
						
						
						
						FCE is a tool to retrieve and change HII configuration data in
Firmware Device(*.fd) files.
https://bugzilla.tianocore.org/show_bug.cgi?id=1848 
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2019-07-04 11:34:56 +08:00 
						 
				 
			
				
					
						
							
							
								Shenglei Zhang 
							
						 
					 
					
						
						
							
						
						dc7b0dc8d6 
					 
					
						
						
							
							BaseTools/BfmLib: Add a tool BfmLib  
						
						... 
						
						
						
						BmfLib is added for FCE tool.
https://bugzilla.tianocore.org/show_bug.cgi?id=1848 
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2019-07-04 11:34:56 +08:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						2e351cbe8e 
					 
					
						
						
							
							BaseTools: Replace BSD License with BSD+Patent License  
						
						... 
						
						
						
						https://bugzilla.tianocore.org/show_bug.cgi?id=1373 
Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:
  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html 
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html 
RFCs with detailed process for the license change:
  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html 
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html 
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html 
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
					
						2019-04-09 09:10:20 -07:00 
						 
				 
			
				
					
						
							
							
								Feng, Bob C 
							
						 
					 
					
						
						
							
						
						dbe05cb1c0 
					 
					
						
						
							
							BaseTools: Fixed the issue of BaseTools Make cleanall failed.  
						
						... 
						
						
						
						BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1622 
There is duplicated $(PYTHON_COMMAND) in the
command of cleanall
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com > 
						
						
					 
					
						2019-03-15 15:38:59 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						7aef7b7cbf 
					 
					
						
						
							
							BaseTools: Update PYTHON env to PYTHON_COMMAND  
						
						... 
						
						
						
						Update PYTHON env to PYTHON_COMMAND.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Tested-by: Laszlo Ersek <lersek@redhat.com >
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2019-02-01 11:09:23 +08:00 
						 
				 
			
				
					
						
							
							
								Zhijux Fan 
							
						 
					 
					
						
						
							
						
						9c2d68c0a2 
					 
					
						
						
							
							BaseTools: Update windows and linux run scripts file to use Python3  
						
						... 
						
						
						
						Modify windows script, PosixLike script, edksetup.sh, edksetup.bat to
use Python3 based on PYTHON3_ENABLE environment.
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com >
Tested-by: Laszlo Ersek <lersek@redhat.com >
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com > 
						
						
					 
					
						2019-02-01 11:09:22 +08:00 
						 
				 
			
				
					
						
							
							
								Shenglei Zhang 
							
						 
					 
					
						
						
							
						
						7702ceb8af 
					 
					
						
						
							
							BaseTools: Remove tools only used by DuetPkg  
						
						... 
						
						
						
						Given that DuetPkg will be removed, tools only used by
DuetPkg can also be removed after its removal operation.
https://bugzilla.tianocore.org/show_bug.cgi?id=1322 
v2:Remove these tools in Makefile and GNUmakefile.
v4:Remove these tools in BinWrappers/PosixLike/ and
   UserManuals.
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Hao Wu <hao.a.wu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2018-12-06 14:32:04 +08:00 
						 
				 
			
				
					
						
							
							
								Shenglei Zhang 
							
						 
					 
					
						
						
							
						
						64ab2c82e8 
					 
					
						
						
							
							BaseTools: Remove GenVtf  
						
						... 
						
						
						
						GenVtf C tool is IPF specific. IPF support has been removed
from edk2 trunk. This tool can be removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1349 
v2:Remove GenVtf in Makefile and GNUmakefile.
v3:Remove BinWrappers/PosixLike/GenVtf and the user manual
   of GenVtf.
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2018-12-05 10:42:32 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						1ccc4d895d 
					 
					
						
						
							
							Revert BaseTools: PYTHON3 migration  
						
						... 
						
						
						
						This reverts commit 6693f359b3c213513c5096a06c6f67244a44dc52..
678f851312liming.gao@intel.com > 
						
						
					 
					
						2018-10-15 08:29:14 +08:00 
						 
				 
			
				
					
						
							
							
								Yunhua Feng 
							
						 
					 
					
						
						
							
						
						c9486c8c9d 
					 
					
						
						
							
							BaseTools: Update Makefile to ignore python tools make  
						
						... 
						
						
						
						ignore make python tools, replace PYTHON_HOME by PYTHON3
Cc: Liming Gao <liming.gao@intel.com >
Cc: Yonghong Zhu <yonghong.zhu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2018-10-13 09:57:15 +08:00 
						 
				 
			
				
					
						
							
							
								Dongao Guo 
							
						 
					 
					
						
						
							
						
						4c0d19e5bf 
					 
					
						
						
							
							BaseTools: Support multi thread build Basetool on Windows  
						
						... 
						
						
						
						Add NmakeSubdirs.py to replace NmakeSubdirs.bat in VS Makefile. This script will
invoke nmake in multi thread mode. It can save more than half time of BaseTools
C clean build.
GCC make supports multiple thread in make phase. So, GNUmakefile doesn't need apply
this script.
single task or job=1:
    just single thread and invoke subprocess,subprocess will use
    system.stdout to print output.
multi task:
    thread number is logic cpu count.All subprocess output will pass to
    python script by PIPE and then script print it to system.stdout.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dongao Guo<dongao.guo@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Test-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2018-09-12 13:02:11 +08:00 
						 
				 
			
				
					
						
							
							
								Yonghong Zhu 
							
						 
					 
					
						
						
							
						
						7dbc50bd24 
					 
					
						
						
							
							BaseTools: Add DevicePath support for PCD values  
						
						... 
						
						
						
						Use C code parse device path to output hex string, and Python
run command when PCD Value need device path parse.
https://bugzilla.tianocore.org/show_bug.cgi?id=541 
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com >
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2017-12-31 13:10:49 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						a9f6e0a4dc 
					 
					
						
						
							
							BaseTools: Replace ARCH with HOST_ARCH in C Makefile to avoid conflict  
						
						... 
						
						
						
						https://bugzilla.tianocore.org/show_bug.cgi?id=793 
ARCH is too generic. It may cause confuse of target arch or host arch.
To be clarified, replace it with HOST_ARCH in BaseTools C Makefile.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com > 
					
						2017-11-30 13:06:44 +08:00 
						 
				 
			
				
					
						
							
							
								Song, BinX 
							
						 
					 
					
						
						
							
						
						87d97b6a77 
					 
					
						
						
							
							BaseTools: Add Brotli algorithm tool  
						
						... 
						
						
						
						- Add Brotli algorithm tool support
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2017-03-29 12:14:43 +08:00 
						 
				 
			
				
					
						
							
							
								Yingke Liu 
							
						 
					 
					
						
						
							
						
						b69fd59e6f 
					 
					
						
						
							
							Fix nmake cleanall bugs.  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d.liu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15887  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-08-25 05:00:34 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						64b2609fcf 
					 
					
						
						
							
							Sync BaseTools Trunk (version r2518) to EDKII main trunk.  
						
						... 
						
						
						
						Signed-off-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13178  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-04-10 07:18:20 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						40d841f6a8 
					 
					
						
						
							
							Sync EDKII BaseTools to BaseTools project r1971  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10502  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-05-18 05:04:32 +00:00 
						 
				 
			
				
					
						
							
							
								qhuang8 
							
						 
					 
					
						
						
							
						
						c69f724df0 
					 
					
						
						
							
							Sync EDKII BaseTools to BaseTools project r1913.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10193  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-03-04 11:57:31 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						30fdf1140b 
					 
					
						
						
							
							Check In tool source code based on Build tool project revision r1655.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-07-17 09:10:31 +00:00