ShellPkg: Update package version to 1.01
[mirror_edk2.git] / ShellPkg / ShellPkg.dsc
CommitLineData
a405b86d 1## @file\r
94b17fa1 2# Shell Package\r
94b17fa1 3#\r
ef224032 4# Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
94b17fa1 5#\r
fbec9c0f 6# This program and the accompanying materials\r
94b17fa1 7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
7b202cb0 14##\r
94b17fa1 15\r
16[Defines]\r
17 PLATFORM_NAME = Shell\r
18 PLATFORM_GUID = E1DC9BF8-7013-4c99-9437-795DAA45F3BD\r
cc432448 19 PLATFORM_VERSION = 1.01\r
d2b4564b 20 DSC_SPECIFICATION = 0x00010006\r
94b17fa1 21 OUTPUT_DIRECTORY = Build/Shell\r
8477cb6e 22 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC|ARM|AARCH64\r
2a65e410 23 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
94b17fa1 24 SKUID_IDENTIFIER = DEFAULT\r
25\r
a405b86d 26[LibraryClasses.common]\r
94b17fa1 27 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
28 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
863986b3 29 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
d454c18a
QS
30!if $(TARGET) == RELEASE\r
31 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
32!else\r
82571fb5 33 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
d454c18a 34!endif\r
43ca1753 35 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
94b17fa1 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
d2b4564b 40 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
a405b86d 41 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
ae591c14
DM
42 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
43 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
94b17fa1 44 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
b1f95a06 45 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
46 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
4027c1dc 47 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\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
43ca1753 53\r
3a4932d0 54 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
7b01f0f3 55 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
304316f4 56 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
4983ca93 57\r
5ab97a64
CC
58 UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
59 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
60 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
61 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
62 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
63 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
64 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
65\r
e0c2cc6f 66[LibraryClasses.ARM]\r
67 #\r
68 # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
69 # This library provides the instrinsic functions generate by a given compiler.\r
70 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
71 #\r
72 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
73\r
4152ed23
RC
74 # Add support for GCC stack protector\r
75 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
76\r
0a8a47e2
HL
77[LibraryClasses.AARCH64]\r
78 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
79\r
82571fb5 80[PcdsFixedAtBuild]\r
81 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
82 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
83 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000\r
84!ifdef $(NO_SHELL_PROFILES)\r
85 gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0x00\r
d41bc92c 86!endif #$(NO_SHELL_PROFILES)\r
e0c2cc6f 87\r
82571fb5 88[Components]\r
30634ed8
QS
89 #\r
90 # Build all the libraries when building this package.\r
91 # This helps developers test changes and how they affect the package.\r
92 #\r
b1f95a06 93 ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
a405b86d 94 ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
28165f24 95 ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
a405b86d 96 ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
28165f24 97 ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
30634ed8
QS
98 ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
99 ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
100 ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
101 ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
102 ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
103 ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
104 ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
43ca1753 105 ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
30634ed8 106 ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
a405b86d 107\r
d41bc92c 108 ShellPkg/Library/UefiDpLib/UefiDpLib.inf {\r
109 <LibraryClasses>\r
dc6ab283 110 PerformanceLib|MdeModulePkg/Library/DxeSmmPerformanceLib/DxeSmmPerformanceLib.inf\r
d41bc92c 111 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
112 }\r
113\r
a405b86d 114 ShellPkg/Application/Shell/Shell.inf {\r
115 <LibraryClasses>\r
a405b86d 116 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
117 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
118 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
82571fb5 119!ifndef $(NO_SHELL_PROFILES)\r
3a4932d0 120 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
121 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
4027c1dc 122 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
123 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
43ca1753 124 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
d41bc92c 125!ifdef $(INCLUDE_DP)\r
126 NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf\r
127!endif #$(INCLUDE_DP)\r
68074260
RC
128!ifdef $(INCLUDE_TFTP_COMMAND)\r
129 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf\r
130!endif #$(INCLUDE_TFTP_COMMAND)\r
d41bc92c 131!endif #$(NO_SHELL_PROFILES)\r
a405b86d 132 }\r
133\r
86776616
HW
134[BuildOptions]\r
135 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r