ShellPkg.dsc 8.2 KB

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