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