EmulatorPkg: Remove framework pkgs dependency from EmulatorPkg
[mirror_edk2.git] / ShellPkg / ShellPkg.dsc
1 ##  @file\r
2 # Shell Package\r
3 #\r
4 # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
5 # Copyright (c) 2018, Arm Limited. All rights reserved.<BR>\r
6 #\r
7 #    SPDX-License-Identifier: BSD-2-Clause-Patent\r
8 #\r
9 ##\r
10 \r
11 [Defines]\r
12   PLATFORM_NAME                  = Shell\r
13   PLATFORM_GUID                  = E1DC9BF8-7013-4c99-9437-795DAA45F3BD\r
14   PLATFORM_VERSION               = 1.02\r
15   DSC_SPECIFICATION              = 0x00010006\r
16   OUTPUT_DIRECTORY               = Build/Shell\r
17   SUPPORTED_ARCHITECTURES        = IA32|X64|EBC|ARM|AARCH64\r
18   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
19   SKUID_IDENTIFIER               = DEFAULT\r
20 \r
21 [LibraryClasses.common]\r
22   UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
23   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
24   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
25   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf\r
26 !if $(TARGET) == RELEASE\r
27   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
28 !else\r
29   DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
30 !endif\r
31   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
32   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
33   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
34   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
35   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
36   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
37   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
38   FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
39   SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
40   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
41   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
42   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
43   NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf\r
44 \r
45   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
46   ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
47   ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
48   HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
49 \r
50   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
51   BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
52   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
53 \r
54   UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
55   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
56   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
57   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
58   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
59   ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
60 \r
61 [LibraryClasses.ARM]\r
62   #\r
63   # It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
64   # This library provides the instrinsic functions generate by a given compiler.\r
65   # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
66   #\r
67   NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
68 \r
69   # Add support for GCC stack protector\r
70   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
71 \r
72 [LibraryClasses.AARCH64]\r
73   NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
74 \r
75 [PcdsFixedAtBuild]\r
76   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xFF\r
77   gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|16000\r
78 !ifdef $(NO_SHELL_PROFILES)\r
79   gEfiShellPkgTokenSpaceGuid.PcdShellProfileMask|0x00\r
80 !endif #$(NO_SHELL_PROFILES)\r
81 \r
82 [Components]\r
83   #\r
84   # Build all the libraries when building this package.\r
85   # This helps developers test changes and how they affect the package.\r
86   #\r
87   ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
88   ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.inf\r
89   ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf\r
90   ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
91   ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
92   ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf\r
93   ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
94   ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
95   ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
96   ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
97   ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
98   ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
99   ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
100   ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
101 \r
102   ShellPkg/Application/Shell/Shell.inf {\r
103     <PcdsFixedAtBuild>\r
104       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
105     <LibraryClasses>\r
106       NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf\r
107       NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf\r
108       NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf\r
109 !ifndef $(NO_SHELL_PROFILES)\r
110       NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf\r
111       NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
112       NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf\r
113       NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
114       NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf\r
115 !endif #$(NO_SHELL_PROFILES)\r
116   }\r
117 \r
118   ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {\r
119     <PcdsFixedAtBuild>\r
120       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
121   }\r
122   ShellPkg/DynamicCommand/TftpDynamicCommand/TftpApp.inf\r
123   ShellPkg/DynamicCommand/DpDynamicCommand/DpDynamicCommand.inf {\r
124     <PcdsFixedAtBuild>\r
125       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE\r
126   }\r
127   ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.inf\r
128 \r
129 [BuildOptions]\r
130   *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r