1## @file 2# Shell Package 3# 4# Copyright (c) 2007 - 2016, 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.0 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 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf 29 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf 30!if $(TARGET) == RELEASE 31 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf 32!else 33 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf 34!endif 35 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf 36 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf 37 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf 38 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf 39 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf 40 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf 41 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf 42 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf 43 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf 44 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf 45 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf 46 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf 47 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf 48 49 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf 50 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf 51 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf 52 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf 53 54 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf 55 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf 56 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf 57 58[LibraryClasses.ARM] 59 # 60 # It is not possible to prevent the ARM compiler for generic intrinsic functions. 61 # This library provides the instrinsic functions generate by a given compiler. 62 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images. 63 # 64 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf 65 66 # Add support for GCC stack protector 67 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf 68 69[LibraryClasses.AARCH64] 70 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf 71 72[PcdsFixedAtBuild] 73 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF 74 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE 75 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000 76!ifdef $(NO_SHELL_PROFILES) 77 gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0x00 78!endif #$(NO_SHELL_PROFILES) 79 80[Components] 81 # 82 # Build all the libraries when building this package. 83 # This helps developers test changes and how they affect the package. 84 # 85 ShellPkg/Library/UefiShellLib/UefiShellLib.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 ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf 99 100 ShellPkg/Library/UefiDpLib/UefiDpLib.inf { 101 <LibraryClasses> 102 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf 103 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf 104 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf 105 } 106 107 ShellPkg/Application/Shell/Shell.inf { 108 <LibraryClasses> 109 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf 110 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf 111 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf 112!ifndef $(NO_SHELL_PROFILES) 113 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf 114 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf 115 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf 116 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf 117 NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf 118!ifdef $(INCLUDE_DP) 119 NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf 120!endif #$(INCLUDE_DP) 121!ifdef $(INCLUDE_TFTP_COMMAND) 122 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf 123!endif #$(INCLUDE_TFTP_COMMAND) 124!endif #$(NO_SHELL_PROFILES) 125 } 126 127[BuildOptions] 128 *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES 129