REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246 MdeLibs.dsc.inc was added for some basic/default library instances provided by MdePkg and RegisterFilterLibNull Library was also added into it as the first version of MdeLibs.dsc.inc. So update platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Leif Lindholm <leif@nuviainc.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
		
			
				
	
	
		
			136 lines
		
	
	
		
			6.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			136 lines
		
	
	
		
			6.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #/** @file
 | |
| # ARM platform package.
 | |
| #
 | |
| # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>
 | |
| # Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>
 | |
| # Copyright (c) 2016 - 2017, Linaro Ltd. All rights reserved.<BR>
 | |
| # Copyright (c) Microsoft Corporation.<BR>
 | |
| #
 | |
| #    SPDX-License-Identifier: BSD-2-Clause-Patent
 | |
| #
 | |
| #**/
 | |
| 
 | |
| ################################################################################
 | |
| #
 | |
| # Defines Section - statements that will be processed to create a Makefile.
 | |
| #
 | |
| ################################################################################
 | |
| [Defines]
 | |
|   PLATFORM_NAME                  = ArmPlatformPkg
 | |
|   PLATFORM_GUID                  = 9ce08891-ac9c-476d-ab04-0c04d3a97544
 | |
|   PLATFORM_VERSION               = 0.1
 | |
|   DSC_SPECIFICATION              = 0x0001001A
 | |
|   OUTPUT_DIRECTORY               = Build/ArmPlatform
 | |
|   SUPPORTED_ARCHITECTURES        = ARM|AARCH64
 | |
|   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
 | |
|   SKUID_IDENTIFIER               = DEFAULT
 | |
| 
 | |
| [BuildOptions]
 | |
|   RELEASE_*_*_CC_FLAGS  = -D MDEPKG_NDEBUG
 | |
|   *_*_*_CC_FLAGS  = -D DISABLE_NEW_DEPRECATED_INTERFACES
 | |
| 
 | |
| [PcdsFixedAtBuild]
 | |
|   gArmTokenSpaceGuid.PcdFdBaseAddress|0x0
 | |
|   gArmTokenSpaceGuid.PcdFdSize|0x1000
 | |
| 
 | |
| !include MdePkg/MdeLibs.dsc.inc
 | |
| 
 | |
| [LibraryClasses.common]
 | |
|   ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf
 | |
|   ArmGicLib|ArmPkg/Drivers/ArmGic/ArmGicLib.inf
 | |
|   ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf
 | |
|   ArmPlatformLib|ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
 | |
|   ArmPlatformStackLib|ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
 | |
|   ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf
 | |
|   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
 | |
|   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
 | |
|   CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf
 | |
|   DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
 | |
|   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 | |
|   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
 | |
|   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
 | |
|   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | |
|   LcdHwLib|ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf
 | |
|   LcdPlatformLib|ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf
 | |
|   LzmaDecompressLib|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
 | |
|   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
 | |
|   MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
 | |
|   NorFlashPlatformLib|ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf
 | |
|   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
 | |
|   PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
 | |
|   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
 | |
|   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
 | |
|   PL011UartClockLib|ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
 | |
|   PL011UartLib|ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
 | |
|   PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
 | |
|   PrePiLib|EmbeddedPkg/Library/PrePiLib/PrePiLib.inf
 | |
|   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
 | |
|   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
 | |
|   TimeBaseLib|EmbeddedPkg/Library/TimeBaseLib/TimeBaseLib.inf
 | |
|   TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
 | |
|   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
 | |
|   UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
 | |
|   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
 | |
|   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
 | |
|   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
 | |
|   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
 | |
|   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
 | |
| 
 | |
|   NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
 | |
|   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
 | |
| 
 | |
| [LibraryClasses.common.PEIM]
 | |
|   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
 | |
|   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
 | |
|   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
 | |
|   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
 | |
|   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
 | |
| 
 | |
| [LibraryClasses.common.SEC]
 | |
|   ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
 | |
|   HobLib|EmbeddedPkg/Library/PrePiHobLib/PrePiHobLib.inf
 | |
|   MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf
 | |
|   PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
 | |
| 
 | |
| [LibraryClasses.AARCH64.MM_STANDALONE]
 | |
|   HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
 | |
|   MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
 | |
|   MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
 | |
|   StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
 | |
| 
 | |
| [Components.common]
 | |
|   ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf
 | |
|   ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
 | |
|   ArmPlatformPkg/Drivers/PL061GpioDxe/PL061GpioDxe.inf
 | |
|   ArmPlatformPkg/Drivers/SP805WatchdogDxe/SP805WatchdogDxe.inf
 | |
| 
 | |
|   ArmPlatformPkg/Library/ArmPlatformLibNull/ArmPlatformLibNull.inf
 | |
|   ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib.inf
 | |
|   ArmPlatformPkg/Library/HdLcd/HdLcd.inf
 | |
|   ArmPlatformPkg/Library/LcdHwNullLib/LcdHwNullLib.inf
 | |
|   ArmPlatformPkg/Library/LcdPlatformNullLib/LcdPlatformNullLib.inf
 | |
|   ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf
 | |
|   ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.inf
 | |
|   ArmPlatformPkg/Library/PL011UartClockLib/PL011UartClockLib.inf
 | |
|   ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.inf
 | |
|   ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf
 | |
|   ArmPlatformPkg/Library/PL111Lcd/PL111Lcd.inf
 | |
|   ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf
 | |
| 
 | |
|   ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf
 | |
|   ArmPlatformPkg/MemoryInitPei/MemoryInitPeim.inf
 | |
| 
 | |
|   ArmPlatformPkg/PlatformPei/PlatformPeim.inf
 | |
|   ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf
 | |
| 
 | |
|   ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf
 | |
|   ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore.inf
 | |
| 
 | |
|   ArmPlatformPkg/PrePi/PeiMPCore.inf
 | |
|   ArmPlatformPkg/PrePi/PeiUniCore.inf
 | |
| 
 | |
|   ArmPlatformPkg/Library/ArmMaliDp/ArmMaliDp.inf
 | |
| 
 | |
| [Components.AARCH64]
 | |
|   ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashStandaloneMm.inf
 |