RiscVPlatformPkg.dsc 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. ## @file
  2. # RISC-V platform package.
  3. #
  4. # Copyright (c) 2021, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. #
  9. ################################################################################
  10. #
  11. # Defines Section
  12. #
  13. ################################################################################
  14. [Defines]
  15. PLATFORM_NAME = RiscVPlatform
  16. PLATFORM_GUID = 840A9576-5869-491E-9210-89769DED4650
  17. PLATFORM_VERSION = 0.1
  18. DSC_SPECIFICATION = 0x0001001c
  19. OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
  20. SUPPORTED_ARCHITECTURES = RISCV64
  21. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  22. SKUID_IDENTIFIER = DEFAULT
  23. [BuildOptions]
  24. GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
  25. !ifdef $(SOURCE_DEBUG_ENABLE)
  26. GCC:*_*_RISCV64_GENFW_FLAGS = --keepexceptiontable
  27. !endif
  28. ################################################################################
  29. #
  30. # SKU Identification section - list of all SKU IDs supported by this Platform.
  31. #
  32. ################################################################################
  33. [SkuIds]
  34. 0|DEFAULT
  35. !include MdePkg/MdeLibs.dsc.inc
  36. [LibraryClasses.common]
  37. FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
  38. RiscVOpensbiPlatformLib|Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLib/OpensbiPlatformLib.inf
  39. RiscVCpuLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVCpuLib/RiscVCpuLib.inf
  40. RiscVEdk2SbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.inf
  41. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  42. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  43. DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
  44. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  45. HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
  46. IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
  47. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  48. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  49. PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
  50. PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
  51. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  52. SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
  53. TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
  54. PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
  55. [LibraryClasses.common.PEI_CORE]
  56. # RISC-V platform PEI core entry point.
  57. PeiCoreEntryPoint|Platform/RISC-V/PlatformPkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  58. PlatformSecPpiLib|Platform/RISC-V/PlatformPkg/Library/PlatformSecPpiLibNull/PlatformSecPpiLibNull.inf
  59. [LibraryClasses.common.PEIM]
  60. FirmwareContextProcessorSpecificLib|Platform/RISC-V/PlatformPkg/Library/FirmwareContextProcessorSpecificLib/FirmwareContextProcessorSpecificLib.inf
  61. HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
  62. MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
  63. PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
  64. [LibraryClasses.common.SEC]
  65. ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
  66. RiscVOpensbiLib|Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf
  67. Edk2OpensbiPlatformWrapperLib|Platform/RISC-V/PlatformPkg/Library/Edk2OpensbiPlatformWrapperLib/Edk2OpensbiPlatformWrapperLib.inf
  68. RiscVSpecialPlatformLib|Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLibNull/RiscVSpecialPlatformLibNull.inf
  69. [LibraryClasses.common.DXE_DRIVER]
  70. PlatformBootManagerLib|Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  71. [Components.common]
  72. Platform/RISC-V/PlatformPkg/Library/OpensbiPlatformLib/OpensbiPlatformLib.inf
  73. Platform/RISC-V/PlatformPkg/Library/PlatformMemoryTestLibNull/PlatformMemoryTestLibNull.inf
  74. Platform/RISC-V/PlatformPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  75. Platform/RISC-V/PlatformPkg/Library/PlatformUpdateProgressLibNull/PlatformUpdateProgressLibNull.inf
  76. Platform/RISC-V/PlatformPkg/Library/FirmwareContextProcessorSpecificLib/FirmwareContextProcessorSpecificLib.inf
  77. Platform/RISC-V/PlatformPkg/Library/RiscVPlatformTempMemoryInitLibNull/RiscVPlatformTempMemoryInitLibNull.inf
  78. Platform/RISC-V/PlatformPkg/Library/PeiCoreEntryPoint/PeiCoreEntryPoint.inf
  79. Platform/RISC-V/PlatformPkg/Library/PlatformSecPpiLibNull/PlatformSecPpiLibNull.inf
  80. Platform/RISC-V/PlatformPkg/Library/RiscVSpecialPlatformLibNull/RiscVSpecialPlatformLibNull.inf
  81. Platform/RISC-V/PlatformPkg/Library/Edk2OpensbiPlatformWrapperLib/Edk2OpensbiPlatformWrapperLib.inf
  82. [Components.common.SEC]
  83. Platform/RISC-V/PlatformPkg/Universal/Sec/SecMain.inf