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