2010-09-14 07:18:09 +02:00
|
|
|
## @file
|
2009-05-07 20:46:18 +02:00
|
|
|
# Shell Package
|
|
|
|
#
|
2019-08-01 22:38:39 +02:00
|
|
|
# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>
|
2018-07-17 12:59:25 +02:00
|
|
|
# Copyright (c) 2018, Arm Limited. All rights reserved.<BR>
|
2009-05-07 20:46:18 +02:00
|
|
|
#
|
2019-04-04 01:07:06 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2009-05-07 20:46:18 +02:00
|
|
|
#
|
2010-02-24 00:58:38 +01:00
|
|
|
##
|
2009-05-07 20:46:18 +02:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = Shell
|
|
|
|
PLATFORM_GUID = E1DC9BF8-7013-4c99-9437-795DAA45F3BD
|
2018-01-24 06:51:10 +01:00
|
|
|
PLATFORM_VERSION = 1.02
|
2009-05-11 20:02:16 +02:00
|
|
|
DSC_SPECIFICATION = 0x00010006
|
2009-05-07 20:46:18 +02:00
|
|
|
OUTPUT_DIRECTORY = Build/Shell
|
2018-06-29 05:34:22 +02:00
|
|
|
SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64
|
2016-01-19 05:07:34 +01:00
|
|
|
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
2009-05-07 20:46:18 +02:00
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
2010-09-14 07:18:09 +02:00
|
|
|
[LibraryClasses.common]
|
2009-05-07 20:46:18 +02:00
|
|
|
UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
2017-10-31 03:47:31 +01:00
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
2009-05-07 20:46:18 +02:00
|
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
2013-07-26 05:14:08 +02:00
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf
|
2016-05-05 07:35:42 +02:00
|
|
|
!if $(TARGET) == RELEASE
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
|
|
|
!else
|
2011-05-17 00:12:20 +02:00
|
|
|
DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
|
2016-05-05 07:35:42 +02:00
|
|
|
!endif
|
2016-03-02 03:13:54 +01:00
|
|
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
2009-05-07 20:46:18 +02:00
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
|
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
2009-05-11 20:02:16 +02:00
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
2010-09-14 07:18:09 +02:00
|
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
2015-01-13 02:04:07 +01:00
|
|
|
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
|
|
|
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
2009-05-07 20:46:18 +02:00
|
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
2009-06-16 02:23:19 +02:00
|
|
|
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
|
|
|
HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
2019-05-17 10:50:34 +02:00
|
|
|
!include NetworkPkg/NetworkLibs.dsc.inc
|
2010-09-14 07:18:09 +02:00
|
|
|
|
2009-06-16 01:45:12 +02:00
|
|
|
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
2010-09-14 07:18:09 +02:00
|
|
|
ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
|
2009-06-16 02:23:19 +02:00
|
|
|
ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
|
2010-09-14 07:18:09 +02:00
|
|
|
HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
|
2016-03-02 03:13:54 +01:00
|
|
|
|
2010-11-16 21:55:07 +01:00
|
|
|
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
2014-09-10 22:30:38 +02:00
|
|
|
BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
|
2015-12-10 05:18:35 +01:00
|
|
|
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
2009-07-13 21:33:35 +02:00
|
|
|
|
2017-02-23 07:03:43 +01:00
|
|
|
UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf
|
|
|
|
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
|
|
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
|
|
|
DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
|
|
|
|
DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
|
|
|
|
ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
|
|
|
|
|
2019-09-04 18:30:47 +02:00
|
|
|
[LibraryClasses.ARM,LibraryClasses.AARCH64]
|
2011-04-07 23:50:16 +02:00
|
|
|
#
|
|
|
|
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
|
|
|
# This library provides the instrinsic functions generate by a given compiler.
|
|
|
|
# [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
|
|
|
#
|
|
|
|
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
|
|
|
|
2014-09-16 20:21:24 +02:00
|
|
|
# Add support for GCC stack protector
|
|
|
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
|
|
|
|
2011-05-17 00:12:20 +02:00
|
|
|
[PcdsFixedAtBuild]
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
|
|
|
|
!ifdef $(NO_SHELL_PROFILES)
|
|
|
|
gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0x00
|
2013-03-04 23:02:59 +01:00
|
|
|
!endif #$(NO_SHELL_PROFILES)
|
2011-04-07 23:50:16 +02:00
|
|
|
|
2011-05-17 00:12:20 +02:00
|
|
|
[Components]
|
2015-09-28 04:18:05 +02:00
|
|
|
#
|
|
|
|
# Build all the libraries when building this package.
|
|
|
|
# This helps developers test changes and how they affect the package.
|
|
|
|
#
|
2009-06-16 02:23:19 +02:00
|
|
|
ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
2018-07-17 12:59:25 +02:00
|
|
|
ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
|
2010-09-14 07:18:09 +02:00
|
|
|
ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
|
2016-10-18 08:30:42 +02:00
|
|
|
ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
|
2010-09-14 07:18:09 +02:00
|
|
|
ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
|
2016-10-18 08:30:42 +02:00
|
|
|
ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
|
2015-09-28 04:18:05 +02:00
|
|
|
ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
|
|
|
|
ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
|
|
|
|
ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
|
|
|
|
ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
|
|
|
|
ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
|
|
|
|
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
|
|
|
|
ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
|
2016-03-02 03:13:54 +01:00
|
|
|
ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
|
2010-09-14 07:18:09 +02:00
|
|
|
|
|
|
|
ShellPkg/Application/Shell/Shell.inf {
|
2017-10-31 03:47:31 +01:00
|
|
|
<PcdsFixedAtBuild>
|
|
|
|
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
2010-09-14 07:18:09 +02:00
|
|
|
<LibraryClasses>
|
|
|
|
NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
|
2011-05-17 00:12:20 +02:00
|
|
|
!ifndef $(NO_SHELL_PROFILES)
|
2010-11-16 21:55:07 +01:00
|
|
|
NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
|
2011-03-25 23:24:20 +01:00
|
|
|
NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
|
2016-03-02 03:13:54 +01:00
|
|
|
NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
|
2013-03-04 23:02:59 +01:00
|
|
|
!endif #$(NO_SHELL_PROFILES)
|
2010-09-14 07:18:09 +02:00
|
|
|
}
|
|
|
|
|
2019-08-01 22:38:39 +02:00
|
|
|
#
|
|
|
|
# Build a second version of the shell with all commands integrated
|
|
|
|
#
|
|
|
|
ShellPkg/Application/Shell/Shell.inf {
|
|
|
|
<Defines>
|
|
|
|
FILE_GUID = EA4BB293-2D7F-4456-A681-1F22F42CD0BC
|
|
|
|
<PcdsFixedAtBuild>
|
|
|
|
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
|
|
|
<LibraryClasses>
|
|
|
|
NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
|
|
|
|
NULL|ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf
|
|
|
|
}
|
|
|
|
|
2017-11-28 12:43:16 +01:00
|
|
|
ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
|
|
|
|
<PcdsFixedAtBuild>
|
|
|
|
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
|
|
|
}
|
2017-10-31 03:47:31 +01:00
|
|
|
ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.inf
|
2017-11-24 10:26:24 +01:00
|
|
|
ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {
|
2017-11-28 12:43:16 +01:00
|
|
|
<PcdsFixedAtBuild>
|
|
|
|
gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
|
2017-11-24 10:26:24 +01:00
|
|
|
}
|
2018-07-17 04:10:49 +02:00
|
|
|
ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.inf
|
2017-10-31 03:47:31 +01:00
|
|
|
|
2016-08-01 08:14:22 +02:00
|
|
|
[BuildOptions]
|
|
|
|
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|