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