]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/ShellPkg.dsc
ShellPkg: Add acpiview tool to dump ACPI tables
[mirror_edk2.git] / ShellPkg / ShellPkg.dsc
1 ## @file
2 # Shell Package
3 #
4 # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
5 #
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
10 #
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 ##
15
16 [Defines]
17 PLATFORM_NAME = Shell
18 PLATFORM_GUID = E1DC9BF8-7013-4c99-9437-795DAA45F3BD
19 PLATFORM_VERSION = 1.02
20 DSC_SPECIFICATION = 0x00010006
21 OUTPUT_DIRECTORY = Build/Shell
22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC|ARM|AARCH64
23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
24 SKUID_IDENTIFIER = DEFAULT
25
26 [LibraryClasses.common]
27 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
28 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
29 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
30 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf
31 !if $(TARGET) == RELEASE
32 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
33 !else
34 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
35 !endif
36 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
37 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
38 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
39 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
40 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
41 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
42 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
43 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
44 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
45 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
46 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
47 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
48 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
49
50 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
51 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
52 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
53 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
54
55 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
56 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
57 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
58
59 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
60 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
61 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
62 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
63 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
64 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
65
66 [LibraryClasses.ARM]
67 #
68 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
69 # This library provides the instrinsic functions generate by a given compiler.
70 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
71 #
72 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
73
74 # Add support for GCC stack protector
75 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
76
77 [LibraryClasses.AARCH64]
78 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
79
80 [PcdsFixedAtBuild]
81 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
82 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
83 !ifdef $(NO_SHELL_PROFILES)
84 gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0x00
85 !endif #$(NO_SHELL_PROFILES)
86
87 [Components]
88 #
89 # Build all the libraries when building this package.
90 # This helps developers test changes and how they affect the package.
91 #
92 ShellPkg/Library/UefiShellLib/UefiShellLib.inf
93 ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
94 ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
95 ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
96 ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
97 ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
98 ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
99 ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
100 ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
101 ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
102 ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
103 ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
104 ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
105
106 ShellPkg/Application/Shell/Shell.inf {
107 <PcdsFixedAtBuild>
108 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
109 <LibraryClasses>
110 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
111 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
112 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
113 !ifndef $(NO_SHELL_PROFILES)
114 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
115 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
116 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
117 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
118 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
119 !endif #$(NO_SHELL_PROFILES)
120 }
121
122 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
123 <PcdsFixedAtBuild>
124 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
125 }
126 ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.inf
127 ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
128 <PcdsFixedAtBuild>
129 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
130 <LibraryClasses>
131 PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf
132 }
133 ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.inf {
134 <LibraryClasses>
135 PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf
136 }
137
138 [BuildOptions]
139 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES