• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1##  @file
2#  This is the shell application
3#
4#  (C) Copyright 2013 Hewlett-Packard Development Company, L.P.<BR>
5#  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
6#
7#  This program and the accompanying materials
8#  are licensed and made available under the terms and conditions of the BSD License
9#  which accompanies this distribution. The full text of the license may be found at
10#  http://opensource.org/licenses/bsd-license.php
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
17[Defines]
18  INF_VERSION                    = 0x00010006
19  BASE_NAME                      = Shell
20  FILE_GUID                      = 7C04A583-9E3E-4f1c-AD65-E05268D0B4D1
21  MODULE_TYPE                    = UEFI_APPLICATION
22  VERSION_STRING                 = 1.0
23  ENTRY_POINT                    = UefiMain
24
25#
26# The following information is for reference only and not required by the build tools.
27#
28#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
29#
30
31[Sources]
32  Shell.c
33  Shell.h
34  ShellParametersProtocol.c
35  ShellParametersProtocol.h
36  ShellProtocol.c
37  ShellProtocol.h
38  FileHandleWrappers.c
39  FileHandleWrappers.h
40  FileHandleInternal.h
41  ShellEnvVar.c
42  ShellEnvVar.h
43  ShellManParser.c
44  ShellManParser.h
45  Shell.uni
46  ConsoleLogger.c
47  ConsoleLogger.h
48  ConsoleWrappers.c
49  ConsoleWrappers.h
50
51[Packages]
52  MdePkg/MdePkg.dec
53  ShellPkg/ShellPkg.dec
54  MdeModulePkg/MdeModulePkg.dec
55
56[LibraryClasses]
57  BaseLib
58  UefiApplicationEntryPoint
59  UefiLib
60  DebugLib
61  MemoryAllocationLib
62  ShellCommandLib
63  UefiRuntimeServicesTableLib
64  UefiBootServicesTableLib
65  DevicePathLib
66  BaseMemoryLib
67  PcdLib
68  FileHandleLib
69  PrintLib
70  HiiLib
71  SortLib
72  HandleParsingLib
73
74[Guids]
75  gShellVariableGuid                                      ## CONSUMES ## GUID
76  gShellMapGuid                                           ## CONSUMES ## GUID
77  gShellAliasGuid                                         ## CONSUMES ## GUID
78
79[Protocols]
80  gEfiShellProtocolGuid                                   ## PRODUCES
81                                                          ## SOMETIMES_CONSUMES
82  gEfiShellParametersProtocolGuid                         ## PRODUCES
83                                                          ## SOMETIMES_CONSUMES
84
85#  gEfiShellEnvironment2Guid                              ## SOMETIMES_PRODUCES
86#  gEfiShellInterfaceGuid                                 ## SOMETIMES_PRODUCES
87
88  gEfiSimpleTextInputExProtocolGuid                       ## CONSUMES
89  gEfiSimpleTextInProtocolGuid                            ## CONSUMES
90  gEfiSimpleTextOutProtocolGuid                           ## CONSUMES
91  gEfiSimpleFileSystemProtocolGuid                        ## CONSUMES
92  gEfiLoadedImageProtocolGuid                             ## CONSUMES
93  gEfiComponentName2ProtocolGuid                          ## CONSUMES
94  gEfiUnicodeCollation2ProtocolGuid                       ## CONSUMES
95  gEfiDevicePathProtocolGuid                              ## CONSUMES
96
97[Pcd]
98  gEfiShellPkgTokenSpaceGuid.PcdShellSupportLevel           ## CONSUMES
99  gEfiShellPkgTokenSpaceGuid.PcdShellSupportOldProtocols    ## CONSUMES
100  gEfiShellPkgTokenSpaceGuid.PcdShellRequireHiiPlatform     ## CONSUMES
101  gEfiShellPkgTokenSpaceGuid.PcdShellSupportFrameworkHii    ## CONSUMES
102  gEfiShellPkgTokenSpaceGuid.PcdShellPageBreakDefault       ## CONSUMES
103  gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize      ## CONSUMES
104  gEfiShellPkgTokenSpaceGuid.PcdShellInsertModeDefault      ## CONSUMES
105  gEfiShellPkgTokenSpaceGuid.PcdShellScreenLogCount         ## CONSUMES
106  gEfiShellPkgTokenSpaceGuid.PcdShellMapNameLength          ## CONSUMES
107  gEfiShellPkgTokenSpaceGuid.PcdShellPrintBufferSize        ## CONSUMES
108  gEfiShellPkgTokenSpaceGuid.PcdShellForceConsole           ## CONSUMES
109  gEfiShellPkgTokenSpaceGuid.PcdShellSupplier               ## CONSUMES
110  gEfiShellPkgTokenSpaceGuid.PcdShellMaxHistoryCommandCount ## CONSUMES
111
112[BuildOptions.AARCH64]
113  # The tiny code model used by AARCH64 only supports binaries of up to 1 MB in
114  # size. Since the Shell application exceeds that when built in DEBUG mode,
115  # make sure we build it using the small code model instead.
116  GCC:DEBUG_*_*_CC_FLAGS = -mcmodel=small
117  GCC:DEBUG_*_*_DLINK_FLAGS = -z common-page-size=0x1000
118