]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2Pkg/IntelFsp2Pkg.dsc
BaseTools: Library hashing fix and optimization for --hash feature
[mirror_edk2.git] / IntelFsp2Pkg / IntelFsp2Pkg.dsc
1 ## @file
2 # Provides driver and definitions to build fsp.
3 #
4 # Copyright (c) 2014 - 2016, 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 [LibraryClasses]
20 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
21 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
22 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
23 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
24 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
25 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
26 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
27 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
28
29 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
30 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
31 SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
32 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
33 DebugDeviceLib|IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
34
35 # FSP override
36 DebugLib|IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
37
38 # FSP specific lib
39 CacheAsRamLib|IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
40 CacheLib|IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf
41 FspCommonLib|IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
42 FspPlatformLib|IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
43 FspSwitchStackLib|IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
44 FspSecPlatformLib|IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
45
46 [LibraryClasses.common.PEIM]
47 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
48 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
49 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
50 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
51 ExtractGuidedSectionLib|MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf
52
53 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
54
55 [Components]
56 IntelFsp2Pkg/Library/BaseCacheAsRamLibNull/BaseCacheAsRamLibNull.inf
57 IntelFsp2Pkg/Library/BaseCacheLib/BaseCacheLib.inf
58 IntelFsp2Pkg/Library/BaseFspCommonLib/BaseFspCommonLib.inf
59 IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/BaseFspDebugLibSerialPort.inf
60 IntelFsp2Pkg/Library/BaseFspPlatformLib/BaseFspPlatformLib.inf
61 IntelFsp2Pkg/Library/BaseFspSwitchStackLib/BaseFspSwitchStackLib.inf
62 IntelFsp2Pkg/Library/BaseDebugDeviceLibNull/BaseDebugDeviceLibNull.inf
63 IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/SecFspSecPlatformLibNull.inf
64
65 IntelFsp2Pkg/FspSecCore/FspSecCoreT.inf
66 IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf
67 IntelFsp2Pkg/FspSecCore/FspSecCoreS.inf
68 IntelFsp2Pkg/FspNotifyPhase/FspNotifyPhasePeim.inf
69
70 [PcdsFixedAtBuild.common]
71 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x1f
72 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046
73 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
74
75 [BuildOptions]
76 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES