Ard Biesheuvel 
							
						 
					 
					
						
						
						
						
							
						
						
							acb2acccfd 
							
						 
					 
					
						
						
							
							BaseTools/Tests: Use quotes around PYTHON_COMMAND  
						
						 
						
						... 
						
						
						
						Commit ("2355f0c09c52 BaseTools: Fix check for ${PYTHON_COMMAND} in
Tests/GNUmakefile") fixed a latent issue in the BaseTools/Tests
Makefile, but inadvertently broke the BaseTools build for cases where
PYTHON_COMMAND is not set. As it turns out, running 'command' without a
command argument makes the invocation succeed, causing the empty
variable to be evaluated and called later.
Let's put double quotes around PYTHON_COMMAND in the invocation of
'command' and force it to fail when PYTHON_COMMAND is not set.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Bob Feng <bob.c.feng@intel.com> 
						
					 
					
						2022-10-24 13:04:40 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Rebecca Cran 
							
						 
					 
					
						
						
						
						
							
						
						
							2355f0c09c 
							
						 
					 
					
						
						
							
							BaseTools: Fix check for ${PYTHON_COMMAND} in Tests/GNUmakefile  
						
						 
						
						... 
						
						
						
						When checking if $PYTHON_COMMAND exists, curly braces should
be used instead of parentheses.
Also, "1" causes an error on FreeBSD: it's likely supposed to
be 2>&1 like other scripts.
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com> 
						
					 
					
						2022-10-22 07:52:20 +00: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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Liming Gao 
							
						 
					 
					
						
						
						
						
							
						
						
							1ccc4d895d 
							
						 
					 
					
						
						
							
							Revert BaseTools: PYTHON3 migration  
						
						 
						
						... 
						
						
						
						This reverts commit 6693f359b3c213513c5096a06c6f67244a44dc52..
678f851312 .
Python3 migration is the fundamental change. It requires every developer
to install Python3. Before this migration, the well communication and wide
verification must be done. But now, most people is not aware of this change,
and not try it. So, Python3 migration is reverted and be moved to edk2-staging
Python3 branch for the edk2 user evaluation.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com> 
						
					 
					
						2018-10-15 08:29:14 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yonghong Zhu 
							
						 
					 
					
						
						
						
						
							
						
						
							678f851312 
							
						 
					 
					
						
						
							
							BaseTools/Tests: Update GNUmakefile to use python3 variable  
						
						 
						
						... 
						
						
						
						Cover the case user do make -C BaseTools before run the .edksetup.sh
file.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> 
						
					 
					
						2018-10-14 00:50:35 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yunhua Feng 
							
						 
					 
					
						
						
						
						
							
						
						
							ea787b6b55 
							
						 
					 
					
						
						
							
							BaseTools: update Test scripts support python3  
						
						 
						
						... 
						
						
						
						update Test scripts support 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:19 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Charles Duffy 
							
						 
					 
					
						
						
						
						
							
						
						
							87157f76f0 
							
						 
					 
					
						
						
							
							BaseTools: Use python2 if available in Tests/GNUmakefile  
						
						 
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Charles Duffy <chaduffy@cisco.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19696  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2016-01-20 05:14:10 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Liming Gao 
							
						 
					 
					
						
						
						
						
							
						
						
							4afd3d0422 
							
						 
					 
					
						
						
							
							Sync BaseTool trunk (version r2599) into EDKII BaseTools.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Heshen Chen <chen.heshen@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14591  6f19259b-4bc3-4df7-8a09-765794883524 
						
					 
					
						2013-08-23 02:18:16 +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