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>
		
			
				
	
	
		
			63 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
## @file
 | 
						|
# Makefile
 | 
						|
#
 | 
						|
# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
 | 
						|
# SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
#
 | 
						|
 | 
						|
!IFNDEF EDK_TOOLS_PATH
 | 
						|
!ERROR "Please set your EDK_TOOLS_PATH!"
 | 
						|
!ENDIF
 | 
						|
 | 
						|
!IFNDEF BASE_TOOLS_PATH
 | 
						|
!ERROR "BASE_TOOLS_PATH is not set! Please run build_tools.bat at first!"
 | 
						|
!ENDIF
 | 
						|
 | 
						|
!IFNDEF HOST_ARCH
 | 
						|
HOST_ARCH = IA32
 | 
						|
!ENDIF
 | 
						|
 | 
						|
MAKE        = nmake -nologo
 | 
						|
 | 
						|
# DOS del command doesn't support ":\\" in the file path, such as j:\\BaseTools. Convert ":\\" to ":\"
 | 
						|
BASE_TOOLS_PATH = $(BASE_TOOLS_PATH::\\=:\)
 | 
						|
EDK_TOOLS_PATH  = $(EDK_TOOLS_PATH::\\=:\)
 | 
						|
 | 
						|
SOURCE_PATH = $(BASE_TOOLS_PATH)\Source\C
 | 
						|
BIN_PATH    = $(BASE_TOOLS_PATH)\Bin
 | 
						|
LIB_PATH    = $(BASE_TOOLS_PATH)\Lib
 | 
						|
 | 
						|
SYS_BIN_PATH=$(EDK_TOOLS_PATH)\Bin
 | 
						|
SYS_LIB_PATH=$(EDK_TOOLS_PATH)\Lib
 | 
						|
 | 
						|
!IF "$(HOST_ARCH)"=="IA32"
 | 
						|
ARCH_INCLUDE = $(SOURCE_PATH)\Include\Ia32
 | 
						|
BIN_PATH     = $(BASE_TOOLS_PATH)\Bin\Win32
 | 
						|
LIB_PATH     = $(BASE_TOOLS_PATH)\Lib\Win32
 | 
						|
SYS_BIN_PATH = $(EDK_TOOLS_PATH)\Bin\Win32
 | 
						|
SYS_LIB_PATH = $(EDK_TOOLS_PATH)\Lib\Win32
 | 
						|
 | 
						|
!ELSEIF "$(HOST_ARCH)"=="X64"
 | 
						|
ARCH_INCLUDE = $(SOURCE_PATH)\Include\X64
 | 
						|
BIN_PATH     = $(BASE_TOOLS_PATH)\Bin\Win64
 | 
						|
LIB_PATH     = $(BASE_TOOLS_PATH)\Lib\Win64
 | 
						|
SYS_BIN_PATH = $(EDK_TOOLS_PATH)\Bin\Win64
 | 
						|
SYS_LIB_PATH = $(EDK_TOOLS_PATH)\Lib\Win64
 | 
						|
 | 
						|
!ELSE
 | 
						|
!ERROR "Bad HOST_ARCH"
 | 
						|
!ENDIF
 | 
						|
 | 
						|
CC = cl.exe
 | 
						|
CXX = cl.exe
 | 
						|
AS = ml.exe
 | 
						|
AR = lib.exe
 | 
						|
LD = link.exe
 | 
						|
LINKER = $(LD)
 | 
						|
 | 
						|
INC = -I . -I $(SOURCE_PATH)\Include -I $(ARCH_INCLUDE) -I $(SOURCE_PATH)\Common $(INC)
 | 
						|
 | 
						|
CFLAGS = $(CFLAGS) /nologo /Zi /c /O2 /MT /W4 /WX /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE 
 | 
						|
CPPFLAGS = $(CPPFLAGS) /EHsc /nologo /Zi /c /O2 /MT /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE 
 | 
						|
 |