]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2Pkg/IntelFsp2Pkg.dsc
IntelFsp2Pkg: Consume MdeLibs.dsc.inc for RegisterFilterLib
[mirror_edk2.git] / IntelFsp2Pkg / IntelFsp2Pkg.dsc
1 ## @file
2 # Provides driver and definitions to build fsp.
3 #
4 # Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7 ##
8
9 [Defines]
10 PLATFORM_NAME = IntelFsp2Pkg
11 PLATFORM_GUID = 55CA3D18-831B-469A-A1C3-7AE719EB6A97
12 PLATFORM_VERSION = 0.1
13 DSC_SPECIFICATION = 0x00010005
14 OUTPUT_DIRECTORY = Build/IntelFsp2Pkg
15 SUPPORTED_ARCHITECTURES = IA32
16 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
17 SKUID_IDENTIFIER = DEFAULT
18
19 !include MdePkg/MdeLibs.dsc.inc
20
21 [LibraryClasses]
22 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
23 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
24 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
25 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
26 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
27 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
28 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
29 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
30 UefiCpuLib|UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
31
32 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
33 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
34 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
35 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
36 DebugDeviceLib|IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
37
38 # FSP override
39 DebugLib|IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
40
41 # FSP specific lib
42 CacheAsRamLib|IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
43 CacheLib|IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf
44 FspCommonLib|IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
45 FspPlatformLib|IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
46 FspSwitchStackLib|IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
47 FspSecPlatformLib|IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
48
49 [LibraryClasses.common.PEIM]
50 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
51 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
52 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
53 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
54 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
55
56 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
57
58 [Components]
59 IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
60 IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf
61 IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
62 IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
63 IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
64 IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
65 IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
66 IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
67
68 IntelFsp2Pkg/FspSecCore/FspSecCoreT.inf
69 IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
70 IntelFsp2Pkg/FspSecCore/FspSecCoreS.inf
71 IntelFsp2Pkg/FspSecCore/Fsp22SecCoreS.inf
72 IntelFsp2Pkg/FspNotifyPhase/FspNotifyPhasePeim.inf
73
74 [PcdsFixedAtBuild.common]
75 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
76 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
77 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
78
79 [BuildOptions]
80 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES