EdkCompatibilityPkg: Removing ipf from edk2.

Removing rules for Ipf sources file:
* Remove the source file which path with "ipf" and also listed in
  [Sources.IPF] section of INF file.
* Remove the source file which listed in [Components.IPF] section
  of DSC file and not listed in any other [Components] section.
* Remove the embedded Ipf code for MDE_CPU_IPF.

Removing rules for Inf file:
* Remove IPF from VALID_ARCHITECTURES comments.
* Remove DXE_SAL_DRIVER from LIBRARY_CLASS in [Defines] section.
* Remove the INF which only listed in [Components.IPF] section in DSC.
* Remove statements from [BuildOptions] that provide IPF specific flags.
* Remove any IPF sepcific sections.

Removing rules for Dec file:
* Remove [Includes.IPF] section from Dec.

Removing rules for Dsc file:
* Remove IPF from SUPPORTED_ARCHITECTURES in [Defines] section of DSC.
* Remove any IPF specific sections.
* Remove statements from [BuildOptions] that provide IPF specific flags.

The following rules are specially proposed by package owner:
* Remove CommonIpf.dsc file.
* Update Common.dsc file, to remove the section with IPF key.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
Chen A Chen
2018-06-29 11:19:34 +08:00
committed by Zhang, Chao B
parent 94d67262d8
commit bc7c34afb1
160 changed files with 128 additions and 17950 deletions

View File

@@ -2,7 +2,7 @@
# EDK Compatibility Package Build File
#
#
# Copyright (c) 2008 - 2011, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -25,7 +25,7 @@
PLATFORM_VERSION = 0.92
DSC_SPECIFICATION = 0x00010005
OUTPUT_DIRECTORY = Build/EdkCompatibilityPkg
SUPPORTED_ARCHITECTURES = IA32|X64|IPF|EBC
SUPPORTED_ARCHITECTURES = IA32|X64|EBC
BUILD_TARGETS = DEBUG|RELEASE
SKUID_IDENTIFIER = DEFAULT
DEFINE MSFT_MACRO = /D EFI_SPECIFICATION_VERSION=0x00020000 /D PI_SPECIFICATION_VERSION=0x00009000 /D TIANO_RELEASE_VERSION=0x00080006 /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000 /D EFI_DEBUG
@@ -100,13 +100,6 @@ DEFINE GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_S
GCC:*_*_X64_APP_FLAGS = -DEFIX64 $(GCC_MACRO)
GCC:*_*_X64_PP_FLAGS = -DEFIX64 $(GCC_MACRO)
GCC:*_*_IPF_CC_FLAGS = -DEFI64 $(GCC_MACRO)
GCC:*_*_IPF_ASM_FLAGS =
GCC:*_*_IPF_VFRPP_FLAGS = -DEFI64 $(GCC_MACRO)
GCC:*_*_IPF_APP_FLAGS = -DEFI64 $(GCC_MACRO)
GCC:*_*_IPF_PP_FLAGS = -DEFI64 $(GCC_MACRO)
INTEL:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
INTEL:*_*_IA32_ASM_FLAGS = /DEFI32
INTEL:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)
@@ -122,13 +115,6 @@ DEFINE GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_S
INTEL:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)
INTEL:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)
INTEL:*_*_IPF_CC_FLAGS = /D EFI64 $(MSFT_MACRO)
INTEL:*_*_IPF_ASM_FLAGS =
INTEL:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)
INTEL:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)
INTEL:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)
MSFT:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
MSFT:*_*_IA32_ASM_FLAGS = /DEFI32
MSFT:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)
@@ -141,12 +127,6 @@ DEFINE GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_S
MSFT:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)
MSFT:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)
MSFT:*_*_IPF_CC_FLAGS = /Od /Os /D EFI64 $(MSFT_MACRO)
MSFT:*_*_IPF_ASM_FLAGS =
MSFT:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)
MSFT:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)
MSFT:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)
###################################################################################################
#
# Components Section - list of the modules and components that will be processed by compilation
@@ -275,7 +255,7 @@ DEFINE GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_S
# }
[Components.IA32,Components.X64,Components.IPF]
[Components.IA32,Components.X64]
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf
@@ -296,11 +276,6 @@ DEFINE GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_S
EdkCompatibilityPkg/Compatibility/BootScriptSaveOnS3SaveStateThunk/BootScriptSaveOnS3SaveStateThunk.inf
EdkCompatibilityPkg/Compatibility/DxeSmmReadyToLockOnExitPmAuthThunk/DxeSmmReadyToLockOnExitPmAuthThunk.inf
[Components.IPF]
EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf
[Libraries]
#
# Libraries common to PEI and DXE
@@ -390,7 +365,7 @@ DEFINE GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_S
EdkCompatibilityPkg/Foundation/Library/Thunk16/Thunk16Lib_Edk2.inf
[Libraries.IA32,Libraries.X64,Libraries.IPF]
[Libraries.IA32,Libraries.X64]
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib_Edk2.inf
@@ -400,8 +375,3 @@ DEFINE GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x00020000 -DPI_S
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/DxePerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/PeiPerformanceLib.inf # Use IA32/X64 specific AsmReadTsc ().
[Libraries.IPF]
EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf
EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf