]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/MdePkg.dsc
BaseTools/Python: Allow HOST_APPLICATION to use NULL libraries
[mirror_edk2.git] / MdePkg / MdePkg.dsc
CommitLineData
6bfbb5f0 1## @file\r
e053747a 2# EFI/PI MdePkg Package\r
3#\r
3d2bb754 4# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
c3f13d41 5# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
1510d6a3 6# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>\r
e053747a 7#\r
9344f092 8# SPDX-License-Identifier: BSD-2-Clause-Patent\r
e053747a 9#\r
6bfbb5f0 10##\r
e053747a 11\r
e053747a 12[Defines]\r
97a079ed 13 PLATFORM_NAME = Mde\r
e053747a 14 PLATFORM_GUID = 082F8BFC-0455-4859-AE3C-ECD64FB81642\r
3d2bb754 15 PLATFORM_VERSION = 1.08\r
e053747a 16 DSC_SPECIFICATION = 0x00010005\r
409f6780 17 OUTPUT_DIRECTORY = Build/Mde\r
1510d6a3 18 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64\r
5f62e95a 19 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
e053747a 20 SKUID_IDENTIFIER = DEFAULT\r
21\r
e50c2bb3
MK
22!include UnitTestFrameworkPkg/UnitTestFrameworkPkgTarget.dsc.inc\r
23\r
6bfbb5f0 24[PcdsFeatureFlag]\r
bc4eb407 25 gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE\r
e053747a 26\r
6bfbb5f0 27[PcdsFixedAtBuild]\r
b3af5df6 28 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
29 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
b3af5df6 30 gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000\r
e053747a 31\r
e50c2bb3
MK
32[LibraryClasses]\r
33 SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
34\r
6bfbb5f0 35[Components]\r
8d891592 36 MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
409f6780 37 MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
ad6d2a4a 38 MdePkg/Library/BaseCpuLib/BaseCpuLib.inf\r
409f6780 39 MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
ad6d2a4a 40 MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf\r
d8ccb37a 41 MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
409f6780
A
42 MdePkg/Library/BaseLib/BaseLib.inf\r
43 MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
cf556c6a 44 MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
ad6d2a4a 45 MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
409f6780
A
46 MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
47 MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf\r
48 MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
49 MdePkg/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
32fa5588 50 MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf\r
e457c1f6 51 MdePkg/Library/BasePciSegmentInfoLibNull/BasePciSegmentInfoLibNull.inf\r
5c9bb86f
RN
52 MdePkg/Library/PciSegmentLibSegmentInfo/BasePciSegmentLibSegmentInfo.inf\r
53 MdePkg/Library/PciSegmentLibSegmentInfo/DxeRuntimePciSegmentLibSegmentInfo.inf\r
a2285a89 54 MdePkg/Library/BaseS3PciSegmentLib/BaseS3PciSegmentLib.inf\r
409f6780
A
55 MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
56 MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf\r
48f3634e 57 MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf\r
409f6780
A
58 MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
59 MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf\r
60 MdePkg/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
61 MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
e886512b 62 MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
ad6d2a4a 63 MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf\r
720d3c5f 64 MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
409f6780
A
65 MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
66 MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
3f0055c8 67 MdePkg/Library/BaseUefiDecompressLib/BaseUefiTianoCustomDecompressLib.inf\r
c48abbed 68 MdePkg/Library/BaseSmbusLibNull/BaseSmbusLibNull.inf\r
d7a09cb8 69 MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
c9af866c 70 MdePkg/Library/BaseRngLibNull/BaseRngLibNull.inf\r
ad6d2a4a 71\r
409f6780
A
72 MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf\r
73 MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf\r
ad6d2a4a 74 MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf\r
409f6780 75 MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
409f6780 76 MdePkg/Library/DxePcdLib/DxePcdLib.inf\r
7612bfec 77 MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
409f6780
A
78 MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
79 MdePkg/Library/DxeSmbusLib/DxeSmbusLib.inf\r
ba9f8351 80 MdePkg/Library/DxeIoLibCpuIo2/DxeIoLibCpuIo2.inf\r
aaedfe3c 81 MdePkg/Library/DxeHstiLib/DxeHstiLib.inf\r
298f0688 82 MdePkg/Library/DxeRuntimePciExpressLib/DxeRuntimePciExpressLib.inf\r
d5b28edd 83 MdePkg/Library/DxeRuntimeDebugLibSerialPort/DxeRuntimeDebugLibSerialPort.inf\r
298f0688 84\r
409f6780
A
85 MdePkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf\r
86 MdePkg/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf\r
ad6d2a4a 87 MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.inf\r
88 MdePkg/Library/PeiHobLib/PeiHobLib.inf\r
89 MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf\r
409f6780
A
90 MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
91 MdePkg/Library/PeiMemoryLib/PeiMemoryLib.inf\r
92 MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf\r
93 MdePkg/Library/PeiPcdLib/PeiPcdLib.inf\r
94 MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
95 MdePkg/Library/PeiServicesLib/PeiServicesLib.inf\r
96 MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
d8b61daa 97 MdePkg/Library/PeiSmbusLibSmbus2Ppi/PeiSmbusLibSmbus2Ppi.inf\r
1a3eaf06 98 MdePkg/Library/PeiPciLibPciCfg2/PeiPciLibPciCfg2.inf\r
99 MdePkg/Library/PeiPciSegmentLibPciCfg2/PeiPciSegmentLibPciCfg2.inf\r
ad6d2a4a 100\r
409f6780
A
101 MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
102 MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
103 MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
b29910d6 104 MdePkg/Library/UefiDebugLibDebugPortProtocol/UefiDebugLibDebugPortProtocol.inf\r
409f6780
A
105 MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
106 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
4d0a30a4 107 MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
409f6780
A
108 MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf\r
109 MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
110 MdePkg/Library/UefiLib/UefiLib.inf\r
ad6d2a4a 111 MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
112 MdePkg/Library/UefiMemoryLib/UefiMemoryLib.inf\r
409f6780
A
113 MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
114 MdePkg/Library/UefiScsiLib/UefiScsiLib.inf\r
409f6780 115 MdePkg/Library/UefiUsbLib/UefiUsbLib.inf\r
9504e2cd 116 MdePkg/Library/UefiPciLibPciRootBridgeIo/UefiPciLibPciRootBridgeIo.inf\r
117 MdePkg/Library/UefiPciSegmentLibPciRootBridgeIo/UefiPciSegmentLibPciRootBridgeIo.inf\r
0bce7349 118 MdePkg/Library/SmmLibNull/SmmLibNull.inf\r
b9d5a7f1 119 MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf\r
316172ba 120\r
5866d499 121 MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf\r
2ac8d8d5 122 MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf\r
5866d499 123\r
27fb01a0 124[Components.IA32, Components.X64, Components.ARM, Components.AARCH64]\r
e50c2bb3
MK
125 #\r
126 # Add UEFI Target Based Unit Tests\r
127 #\r
128 MdePkg/Test/UnitTest/Library/BaseLib/BaseLibUnitTestsUefi.inf\r
129\r
130 #\r
131 # Build PEIM, DXE_DRIVER, SMM_DRIVER, UEFI Shell components that test SafeIntLib\r
132 #\r
133 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibPei.inf\r
134 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibDxe.inf\r
135 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibSmm.inf\r
136 MdePkg/Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLibUefiShell.inf\r
137\r
ad6d2a4a 138[Components.IA32, Components.X64]\r
078bee4e 139 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
b6d11d7c 140 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicSev.inf\r
409f6780 141 MdePkg/Library/BaseMemoryLibMmx/BaseMemoryLibMmx.inf\r
5053cf7f 142 MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf\r
ad6d2a4a 143 MdePkg/Library/BaseMemoryLibOptPei/BaseMemoryLibOptPei.inf\r
409f6780 144 MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf\r
ad6d2a4a 145 MdePkg/Library/BaseMemoryLibSse2/BaseMemoryLibSse2.inf\r
409f6780 146 MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf\r
ad6d2a4a 147 MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r
148 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
8fc71dec 149 MdePkg/Library/SmmIoLibSmmCpuIo2/SmmIoLibSmmCpuIo2.inf\r
b7c5912a 150 MdePkg/Library/SmmPciLibPciRootBridgeIo/SmmPciLibPciRootBridgeIo.inf\r
151 MdePkg/Library/SmmServicesTableLib/SmmServicesTableLib.inf\r
1b45a671 152 MdePkg/Library/SmmMemoryAllocationLib/SmmMemoryAllocationLib.inf\r
fe69ac84 153 MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.inf\r
154 MdePkg/Library/BaseS3BootScriptLibNull/BaseS3BootScriptLibNull.inf\r
155 MdePkg/Library/BaseS3IoLib/BaseS3IoLib.inf\r
156 MdePkg/Library/BaseS3PciLib/BaseS3PciLib.inf\r
157 MdePkg/Library/BaseS3SmbusLib/BaseS3SmbusLib.inf\r
158 MdePkg/Library/BaseS3StallLib/BaseS3StallLib.inf\r
d425764e 159 MdePkg/Library/SmmMemLib/SmmMemLib.inf\r
9bb800f7 160 MdePkg/Library/SmmIoLib/SmmIoLib.inf\r
255c8e22 161 MdePkg/Library/BaseRngLib/BaseRngLib.inf\r
84ace59f 162 MdePkg/Library/SmmPciExpressLib/SmmPciExpressLib.inf\r
0466aac8 163 MdePkg/Library/SmiHandlerProfileLibNull/SmiHandlerProfileLibNull.inf\r
17f5fd92 164 MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf\r
e053747a 165\r
078bee4e 166[Components.EBC]\r
d910a704 167 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
078bee4e 168 MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
66c6d4d6
AF
169\r
170[Components.ARM, Components.AARCH64]\r
4134f2bd 171 MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicArmVirt.inf\r
66c6d4d6 172 MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
f2ecdbf0
HW
173\r
174[BuildOptions]\r
175 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r