mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-11-04 05:38:26 +00:00 
			
		
		
		
	Add the following definition in the [BuildOptions] section in package DSC files to disable APIs that are deprecated: [BuildOptions] *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
		
			
				
	
	
		
			89 lines
		
	
	
		
			4.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			89 lines
		
	
	
		
			4.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
## @file
 | 
						|
# Provides drivers and definitions to support fsp in EDKII bios.
 | 
						|
#
 | 
						|
# Copyright (c) 2014 - 2016, 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 that accompanies this distribution.
 | 
						|
# The full text of the license may be found at
 | 
						|
# http://opensource.org/licenses/bsd-license.php.
 | 
						|
#
 | 
						|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | 
						|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | 
						|
#
 | 
						|
##
 | 
						|
 | 
						|
[Defines]
 | 
						|
  PLATFORM_NAME                  = IntelFspWrapperPkg
 | 
						|
  PLATFORM_GUID                  = BC1EC7D4-8550-4a64-B7F5-8E0EF864FFA2
 | 
						|
  PLATFORM_VERSION               = 0.1
 | 
						|
  DSC_SPECIFICATION              = 0x00010005
 | 
						|
  OUTPUT_DIRECTORY               = Build/IntelFspWrapperPkg
 | 
						|
  SUPPORTED_ARCHITECTURES        = IA32|X64
 | 
						|
  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
 | 
						|
  SKUID_IDENTIFIER               = DEFAULT
 | 
						|
 | 
						|
[LibraryClasses]
 | 
						|
  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
 | 
						|
  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
 | 
						|
  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
 | 
						|
  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
 | 
						|
  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 | 
						|
  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
 | 
						|
  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
 | 
						|
  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | 
						|
  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
 | 
						|
  PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
 | 
						|
  PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
 | 
						|
  CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
 | 
						|
 | 
						|
  # Dummy - test build only
 | 
						|
  SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
 | 
						|
  ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
 | 
						|
  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
 | 
						|
 | 
						|
  # MdeModulePkg
 | 
						|
  DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
 | 
						|
 | 
						|
  # UefiCpuPkg
 | 
						|
  UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
 | 
						|
  LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
 | 
						|
 | 
						|
  # FSP lib
 | 
						|
  FspApiLib|IntelFspWrapperPkg/Library/BaseFspApiLib/BaseFspApiLib.inf
 | 
						|
 | 
						|
  # FSP platform sample
 | 
						|
  FspPlatformInfoLib|IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/BaseFspPlatformInfoLibSample.inf
 | 
						|
  FspPlatformSecLib|IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/SecPeiFspPlatformSecLibSample.inf
 | 
						|
  FspHobProcessLib|IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/PeiFspHobProcessLibSample.inf
 | 
						|
 | 
						|
[LibraryClasses.common.PEIM,LibraryClasses.common.PEI_CORE]
 | 
						|
  PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
 | 
						|
  PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
 | 
						|
  PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
 | 
						|
  MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
 | 
						|
  HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
 | 
						|
 | 
						|
[LibraryClasses.common.DXE_DRIVER]
 | 
						|
  UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
 | 
						|
  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
 | 
						|
  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
 | 
						|
  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
 | 
						|
  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
 | 
						|
  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
 | 
						|
  DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf
 | 
						|
 | 
						|
[Components.Ia32]
 | 
						|
  IntelFspWrapperPkg/FspWrapperSecCore/FspWrapperSecCore.inf
 | 
						|
  IntelFspWrapperPkg/FspInitPei/FspInitPei.inf
 | 
						|
 | 
						|
[Components.IA32, Components.X64]
 | 
						|
  IntelFspWrapperPkg/FspNotifyDxe/FspNotifyDxe.inf
 | 
						|
 | 
						|
[PcdsFixedAtBuild.common]
 | 
						|
  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
 | 
						|
  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
 | 
						|
  gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
 | 
						|
 | 
						|
[BuildOptions]
 | 
						|
  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
 |