]> git.proxmox.com Git - mirror_edk2.git/blame - ShellPkg/ShellPkg.dsc
SecurityPkg: Add LOONGARCH64 architecture for EDK2 CI.
[mirror_edk2.git] / ShellPkg / ShellPkg.dsc
CommitLineData
a405b86d 1## @file\r
94b17fa1 2# Shell Package\r
94b17fa1 3#\r
25b77b50 4# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>\r
db77d8f7 5# Copyright (c) 2018 - 2020, Arm Limited. All rights reserved.<BR>\r
e4288891 6# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
94b17fa1 7#\r
56ba3746 8# SPDX-License-Identifier: BSD-2-Clause-Patent\r
94b17fa1 9#\r
7b202cb0 10##\r
94b17fa1 11\r
12[Defines]\r
13 PLATFORM_NAME = Shell\r
14 PLATFORM_GUID = E1DC9BF8-7013-4c99-9437-795DAA45F3BD\r
74f3318c 15 PLATFORM_VERSION = 1.02\r
d2b4564b 16 DSC_SPECIFICATION = 0x00010006\r
94b17fa1 17 OUTPUT_DIRECTORY = Build/Shell\r
e4288891 18 SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64\r
2a65e410 19 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
94b17fa1 20 SKUID_IDENTIFIER = DEFAULT\r
21\r
25b77b50
DB
22!include MdePkg/MdeLibs.dsc.inc\r
23\r
a405b86d 24[LibraryClasses.common]\r
94b17fa1 25 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
09610023 26 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
94b17fa1 27 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
863986b3 28 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
d454c18a
QS
29!if $(TARGET) == RELEASE\r
30 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
31!else\r
82571fb5 32 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
d454c18a 33!endif\r
43ca1753 34 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
94b17fa1 35 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
36 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
37 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
38 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
d2b4564b 39 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
a405b86d 40 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
ae591c14
DM
41 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
42 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
94b17fa1 43 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
b1f95a06 44 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
45 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
76b3d45b 46 VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
59f20e8d 47 !include NetworkPkg/NetworkLibs.dsc.inc\r
a405b86d 48\r
14e96c29 49 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
a405b86d 50 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
b1f95a06 51 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
a405b86d 52 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
101c55ac 53 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
43ca1753 54\r
3a4932d0 55 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
7b01f0f3 56 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
db77d8f7 57 AcpiViewCommandLib|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf\r
304316f4 58 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
4983ca93 59\r
5ab97a64
CC
60 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
61 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
5ab97a64
CC
62 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
63 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
64 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
65 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
66\r
23908d0f 67[LibraryClasses.ARM,LibraryClasses.AARCH64]\r
e0c2cc6f 68 #\r
69 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
70 # This library provides the instrinsic functions generate by a given compiler.\r
71 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
72 #\r
73 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
74\r
4152ed23
RC
75 # Add support for GCC stack protector\r
76 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
77\r
82571fb5 78[PcdsFixedAtBuild]\r
79 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
82571fb5 80 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000\r
81!ifdef $(NO_SHELL_PROFILES)\r
82 gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0x00\r
d41bc92c 83!endif #$(NO_SHELL_PROFILES)\r
e0c2cc6f 84\r
82571fb5 85[Components]\r
30634ed8
QS
86 #\r
87 # Build all the libraries when building this package.\r
88 # This helps developers test changes and how they affect the package.\r
89 #\r
b1f95a06 90 ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
304a27e0 91 ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf\r
a405b86d 92 ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
28165f24 93 ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
a405b86d 94 ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
28165f24 95 ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
30634ed8
QS
96 ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
97 ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
98 ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
99 ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
100 ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
101 ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
102 ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
43ca1753 103 ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
a405b86d 104\r
105 ShellPkg/Application/Shell/Shell.inf {\r
09610023
RN
106 <PcdsFixedAtBuild>\r
107 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
a405b86d 108 <LibraryClasses>\r
a405b86d 109 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
110 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
111 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
82571fb5 112!ifndef $(NO_SHELL_PROFILES)\r
3a4932d0 113 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
114 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
4027c1dc 115 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
116 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
43ca1753 117 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
d41bc92c 118!endif #$(NO_SHELL_PROFILES)\r
a405b86d 119 }\r
120\r
7c662c9e
MK
121 #\r
122 # Build a second version of the shell with all commands integrated\r
123 #\r
124 ShellPkg/Application/Shell/Shell.inf {\r
125 <Defines>\r
126 FILE_GUID = EA4BB293-2D7F-4456-A681-1F22F42CD0BC\r
127 <PcdsFixedAtBuild>\r
128 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
129 <LibraryClasses>\r
130 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
131 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
132 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
133 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
134 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
135 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
136 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
137 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
138 NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf\r
139 }\r
140\r
ff5a4bcf
RN
141 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
142 <PcdsFixedAtBuild>\r
143 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
144 }\r
09610023 145 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.inf\r
d8ab884f
VO
146 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpDynamicCommand.inf {\r
147 <PcdsFixedAtBuild>\r
148 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
149 }\r
150 ShellPkg/DynamicCommand/HttpDynamicCommand/HttpApp.inf\r
92034c4c 151 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r
ff5a4bcf
RN
152 <PcdsFixedAtBuild>\r
153 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
92034c4c 154 }\r
29890da4 155 ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.inf\r
00217f19 156 ShellPkg/Application/AcpiViewApp/AcpiViewApp.inf\r
09610023 157\r
86776616
HW
158[BuildOptions]\r
159 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r