]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdePkg/MdePkg.dsc
UefiCpuPkg/MpInitLib: Remove Executable attribute from MpLib.h
[mirror_edk2.git] / MdePkg / MdePkg.dsc
... / ...
CommitLineData
1## @file\r
2# EFI/PI MdePkg Package\r
3#\r
4# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
5# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
6#\r
7# SPDX-License-Identifier: BSD-2-Clause-Patent\r
8#\r
9##\r
10\r
11[Defines]\r
12 PLATFORM_NAME = Mde\r
13 PLATFORM_GUID = 082F8BFC-0455-4859-AE3C-ECD64FB81642\r
14 PLATFORM_VERSION = 1.08\r
15 DSC_SPECIFICATION = 0x00010005\r
16 OUTPUT_DIRECTORY = Build/Mde\r
17 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64\r
18 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
19 SKUID_IDENTIFIER = DEFAULT\r
20\r
21!include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc\r
22\r
23[PcdsFeatureFlag]\r
24 gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE\r
25\r
26[PcdsFixedAtBuild]\r
27 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
28 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
29 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
30\r
31[LibraryClasses]\r
32 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
33\r
34[Components]\r
35 MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
36 MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
37 MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
38 MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
39 MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
40 MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
41 MdePkg/Library/BaseLib/BaseLib.inf\r
42 MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
43 MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
44 MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
45 MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
46 MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
47 MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
48 MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
49 MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
50 MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf\r
51 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r
52 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf\r
53 MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf\r
54 MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
55 MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
56 MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
57 MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
58 MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf\r
59 MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
60 MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
61 MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
62 MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
63 MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
64 MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
65 MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
66 MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
67 MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
68 MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
69 MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf\r
70\r
71 MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
72 MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
73 MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
74 MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
75 MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
76 MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
77 MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
78 MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
79 MdePkg/Library/DxeIoLibCpuIo2/DxeIoLibCpuIo2.inf\r
80 MdePkg/Library/DxeHstiLib/DxeHstiLib.inf\r
81 MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf\r
82 MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r
83\r
84 MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
85 MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf\r
86 MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
87 MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
88 MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf\r
89 MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
90 MdePkg/Library/PeiMemoryLib/PeiMemoryLib.inf\r
91 MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
92 MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
93 MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
94 MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
95 MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
96 MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf\r
97 MdePkg/Library/PeiPciLibPciCfg2/PeiPciLibPciCfg2.inf\r
98 MdePkg/Library/PeiPciSegmentLibPciCfg2/PeiPciSegmentLibPciCfg2.inf\r
99\r
100 MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
101 MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
102 MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
103 MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf\r
104 MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
105 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
106 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
107 MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
108 MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
109 MdePkg/Library/UefiLib/UefiLib.inf\r
110 MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
111 MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf\r
112 MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
113 MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
114 MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
115 MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf\r
116 MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/UefiPciSegmentLibPciRootBridgeIo.inf\r
117 MdePkg/Library/SmmLibNull/SmmLibNull.inf\r
118 MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
119\r
120 MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
121 MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf\r
122\r
123[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]\r
124 #\r
125 # Add UEFI Target Based Unit Tests\r
126 #\r
127 MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsUefi.inf\r
128\r
129 #\r
130 # Build PEIM, DXE_DRIVER, SMM_DRIVER, UEFI Shell components that test SafeIntLib\r
131 #\r
132 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibPei.inf\r
133 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibDxe.inf\r
134 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibSmm.inf\r
135 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibUefiShell.inf\r
136\r
137[Components.IA32, Components.X64]\r
138 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
139 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
140 MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf\r
141 MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
142 MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf\r
143 MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
144 MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf\r
145 MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
146 MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
147 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
148 MdePkg/Library/SmmIoLibSmmCpuIo2/SmmIoLibSmmCpuIo2.inf\r
149 MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf\r
150 MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
151 MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
152 MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.inf\r
153 MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r
154 MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf\r
155 MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf\r
156 MdePkg/Library/BaseS3SmbusLib/BaseS3SmbusLib.inf\r
157 MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf\r
158 MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
159 MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
160 MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
161 MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf\r
162 MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf\r
163 MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
164\r
165[Components.EBC]\r
166 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
167 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
168\r
169[Components.ARM, Components.AARCH64]\r
170 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r
171 MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
172\r
173[BuildOptions]\r
174 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r