blob: 33ee76c6e1c7ce952fc1b5701e85f6e0541cabd4 [file] [log] [blame]
jcarseya405b862010-09-14 05:18:09 +00001## @file
jcarsey94b17fa2009-05-07 18:46:18 +00002# Shell Package
jcarsey94b17fa2009-05-07 18:46:18 +00003#
Qiu Shumin30634ed2015-09-28 02:18:05 +00004# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
jcarsey94b17fa2009-05-07 18:46:18 +00005#
hhtianfbec9c02010-09-14 12:22:42 +00006# This program and the accompanying materials
jcarsey94b17fa2009-05-07 18:46:18 +00007# 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#
lgao47b202cb2010-02-23 23:58:38 +000014##
jcarsey94b17fa2009-05-07 18:46:18 +000015
16[Defines]
17 PLATFORM_NAME = Shell
18 PLATFORM_GUID = E1DC9BF8-7013-4c99-9437-795DAA45F3BD
Daryl McDanielae591c12015-01-13 01:04:07 +000019 PLATFORM_VERSION = 1.0
jcarseyd2b45642009-05-11 18:02:16 +000020 DSC_SPECIFICATION = 0x00010006
jcarsey94b17fa2009-05-07 18:46:18 +000021 OUTPUT_DIRECTORY = Build/Shell
Harry Liebel8477cb62013-07-18 15:38:25 +000022 SUPPORTED_ARCHITECTURES = IA32|IPF|X64|EBC|ARM|AARCH64
jcarsey94b17fa2009-05-07 18:46:18 +000023 BUILD_TARGETS = DEBUG|RELEASE
24 SKUID_IDENTIFIER = DEFAULT
25
jcarseya405b862010-09-14 05:18:09 +000026[LibraryClasses.common]
jcarsey94b17fa2009-05-07 18:46:18 +000027 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
28 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
Ruiyu Ni863986b2013-07-26 03:14:08 +000029 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf
jcarsey82571fb2011-05-16 22:12:20 +000030 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
mdkinneyf506e942011-03-10 22:40:23 +000031 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
jcarsey94b17fa2009-05-07 18:46:18 +000032 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
jcarseyd2b45642009-05-11 18:02:16 +000036 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
jcarseya405b862010-09-14 05:18:09 +000037 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
Daryl McDanielae591c12015-01-13 01:04:07 +000038 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
39 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
jcarsey94b17fa2009-05-07 18:46:18 +000040 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
jcarseyb1f95a02009-06-16 00:23:19 +000041 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
42 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
jcarsey4027c1d2011-03-25 22:24:20 +000043 NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf
jcarseya405b862010-09-14 05:18:09 +000044
jcarsey14e96c22009-06-15 23:45:12 +000045 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
jcarseya405b862010-09-14 05:18:09 +000046 ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
jcarseyb1f95a02009-06-16 00:23:19 +000047 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
jcarseya405b862010-09-14 05:18:09 +000048 HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
jcarsey3a4932d2010-11-16 20:55:07 +000049
50 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
Jaben Carsey7b01f0f2014-09-10 20:30:38 +000051 BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
jcarsey4983ca92009-07-13 19:33:35 +000052
andrewfishe0c2cc62011-04-07 21:50:16 +000053[LibraryClasses.ARM]
54 #
55 # It is not possible to prevent the ARM compiler for generic intrinsic functions.
56 # This library provides the instrinsic functions generate by a given compiler.
57 # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
58 #
59 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
60
Ronald Cron4152ed22014-09-16 18:21:24 +000061 # Add support for GCC stack protector
62 NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
63
Harry Liebel0a8a47e2014-09-16 17:46:07 +000064[LibraryClasses.AARCH64]
65 NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
66
jcarsey82571fb2011-05-16 22:12:20 +000067[PcdsFixedAtBuild]
68 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF
69 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
70 gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000
71!ifdef $(NO_SHELL_PROFILES)
72 gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0x00
jcarseyd41bc922013-03-04 22:02:59 +000073!endif #$(NO_SHELL_PROFILES)
andrewfishe0c2cc62011-04-07 21:50:16 +000074
jcarsey82571fb2011-05-16 22:12:20 +000075[Components]
Qiu Shumin30634ed2015-09-28 02:18:05 +000076 #
77 # Build all the libraries when building this package.
78 # This helps developers test changes and how they affect the package.
79 #
jcarseyb1f95a02009-06-16 00:23:19 +000080 ShellPkg/Library/UefiShellLib/UefiShellLib.inf
jcarseya405b862010-09-14 05:18:09 +000081 ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
jcarseya405b862010-09-14 05:18:09 +000082 ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
Qiu Shumin30634ed2015-09-28 02:18:05 +000083 ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
84 ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
85 ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
86 ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
87 ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
88 ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
89 ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
90 ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
jcarseya405b862010-09-14 05:18:09 +000091
jcarseyd41bc922013-03-04 22:02:59 +000092 ShellPkg/Library/UefiDpLib/UefiDpLib.inf {
93 <LibraryClasses>
94 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
95 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
96 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
97 }
98
jcarseya405b862010-09-14 05:18:09 +000099 ShellPkg/Application/Shell/Shell.inf {
100 <LibraryClasses>
jcarseya405b862010-09-14 05:18:09 +0000101 NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
102 NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
103 NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
jcarsey82571fb2011-05-16 22:12:20 +0000104!ifndef $(NO_SHELL_PROFILES)
jcarsey3a4932d2010-11-16 20:55:07 +0000105 NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
106 NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
jcarsey4027c1d2011-03-25 22:24:20 +0000107 NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
108 NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
jcarseyd41bc922013-03-04 22:02:59 +0000109!ifdef $(INCLUDE_DP)
110 NULL|ShellPkg/Library/UefiDpLib/UefiDpLib.inf
111!endif #$(INCLUDE_DP)
Ronald Cron68074262015-07-15 15:39:53 +0000112!ifdef $(INCLUDE_TFTP_COMMAND)
113 NULL|ShellPkg/Library/UefiShellTftpCommandLib/UefiShellTftpCommandLib.inf
114!endif #$(INCLUDE_TFTP_COMMAND)
jcarseyd41bc922013-03-04 22:02:59 +0000115!endif #$(NO_SHELL_PROFILES)
jcarseya405b862010-09-14 05:18:09 +0000116 }
117