OpenBoardPkg.dsc 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. ## @file
  2. # The main build description file for the MtOlympus board.
  3. #
  4. # Copyright (c) 2018 - 2021, Intel Corporation. All rights reserved.<BR>
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. ##
  9. ################################################################################
  10. #
  11. # Defines Section - statements that will be processed to create a Makefile.
  12. #
  13. ################################################################################
  14. [Defines]
  15. DEFINE PLATFORM_PACKAGE = MinPlatformPkg
  16. DEFINE PLATFORM_SI_PACKAGE = PurleyRefreshSiliconPkg
  17. DEFINE PLATFORM_SI_BIN_PACKAGE = PurleySiliconBinPkg
  18. DEFINE PLATFORM_BOARD_PACKAGE = PurleyOpenBoardPkg
  19. DEFINE BOARD = BoardMtOlympus
  20. DEFINE PROJECT = $(PLATFORM_BOARD_PACKAGE)/$(BOARD)
  21. DEFINE PEI_ARCH = IA32
  22. DEFINE DXE_ARCH = X64
  23. PLATFORM_NAME = PurleyOpenBoardPkg
  24. PLATFORM_GUID = D7EAF54D-C9B9-4075-89F0-71943DBCFA61
  25. PLATFORM_VERSION = 0.1
  26. DSC_SPECIFICATION = 0x00010005
  27. OUTPUT_DIRECTORY = Build/$(PROJECT)
  28. SUPPORTED_ARCHITECTURES = IA32|X64
  29. BUILD_TARGETS = DEBUG|RELEASE
  30. SKUID_IDENTIFIER = DEFAULT
  31. FLASH_DEFINITION = $(PROJECT)/OpenBoardPkg.fdf
  32. FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
  33. #
  34. # Platform On/Off features are defined here
  35. #
  36. !include $(PROJECT)/PlatformPkgConfig.dsc
  37. #
  38. # Include PCD configuration for this board.
  39. #
  40. !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc
  41. !include PlatformPkgPcd.dsc
  42. !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc
  43. ################################################################################
  44. #
  45. # SKU Identification section - list of all SKU IDs supported by this
  46. # Platform.
  47. #
  48. ################################################################################
  49. [SkuIds]
  50. 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
  51. [DefaultStores]
  52. 0|STANDARD # UEFI Standard default 0|STANDARD is reserved.
  53. 1|MANUFACTURING # UEFI Manufacturing default 1|MANUFACTURING is reserved.
  54. ################################################################################
  55. #
  56. # Includes section - other DSC file contents included for this board build.
  57. #
  58. ################################################################################
  59. #######################################
  60. # Library Includes
  61. #######################################
  62. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreCommonLib.dsc
  63. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiLib.dsc
  64. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeLib.dsc
  65. !include $(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
  66. !include $(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc
  67. !include $(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc
  68. #######################################
  69. # Component Includes
  70. #######################################
  71. [Components.$(PEI_ARCH)]
  72. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiInclude.dsc
  73. [Components.$(DXE_ARCH)]
  74. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeInclude.dsc
  75. #######################################
  76. # Build Option Includes
  77. #######################################
  78. !include $(PROJECT)/PlatformPkgBuildOption.dsc
  79. ################################################################################
  80. #
  81. # Library Class section - list of all Library Classes needed by this Platform.
  82. #
  83. ################################################################################
  84. [LibraryClasses.common]
  85. !if gPlatformTokenSpaceGuid.PcdFastBoot == FALSE
  86. PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  87. !else
  88. PlatformBootManagerLib|$(PLATFORM_BOARD_PACKAGE)/Override/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
  89. !endif
  90. ReportFvLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/PeiReportFvLib/PeiReportFvLib.inf
  91. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  92. CompressLib|$(PLATFORM_PACKAGE)/Library/CompressLib/CompressLib.inf
  93. PciSegmentInfoLib|$(PLATFORM_PACKAGE)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
  94. AslUpdateLib|$(PLATFORM_PACKAGE)/Acpi/Library/DxeAslUpdateLib/DxeAslUpdateLib.inf
  95. #
  96. # Board
  97. #
  98. SiliconPolicyInitLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/SiliconPolicyInitLib/SiliconPolicyInitLib.inf
  99. SiliconPolicyUpdateLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/SiliconPolicyUpdateLib/SiliconPolicyUpdateLib.inf
  100. PlatformHookLib|$(PROJECT)/Library/BasePlatformHookLib/BasePlatformHookLib.inf
  101. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
  102. [LibraryClasses.IA32]
  103. !if $(TARGET) == DEBUG
  104. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
  105. !endif
  106. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
  107. SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrrLibNull.inf
  108. ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.inf
  109. [LibraryClasses.X64]
  110. BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
  111. !if $(TARGET) == DEBUG
  112. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/DxeTestPointCheckLib.inf
  113. !endif
  114. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/DxeTestPointLib.inf
  115. BoardBootManagerLib|BoardModulePkg/Library/BoardBootManagerLib/BoardBootManagerLib.inf
  116. [LibraryClasses.X64.DXE_SMM_DRIVER]
  117. !if $(TARGET) == DEBUG
  118. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
  119. !endif
  120. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/SmmTestPointLib.inf
  121. [Components.IA32]
  122. $(PLATFORM_SI_BIN_PACKAGE)/FV/FvTempMemorySilicon/$(TARGET)/FvTempMemorySilicon.inf
  123. $(PLATFORM_SI_BIN_PACKAGE)/FV/FvPreMemorySilicon/$(TARGET)/FvPreMemorySilicon.inf
  124. $(PLATFORM_SI_BIN_PACKAGE)/FV/FvPostMemorySilicon/$(TARGET)/FvPostMemorySilicon.inf
  125. $(PLATFORM_BOARD_PACKAGE)/Policy/SystemBoard/SystemBoardPei.inf
  126. $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
  127. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
  128. <LibraryClasses>
  129. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
  130. }
  131. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
  132. <LibraryClasses>
  133. BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
  134. }
  135. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf
  136. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf
  137. [Components.X64]
  138. $(PLATFORM_SI_BIN_PACKAGE)/FV/FvLateSilicon/$(TARGET)/FvLateSilicon.inf
  139. $(PLATFORM_SI_BIN_PACKAGE)/Microcode/Microcode.inf
  140. $(PLATFORM_BOARD_PACKAGE)/Policy/IioUdsDataDxe/IioUdsDataDxe.inf
  141. $(PLATFORM_BOARD_PACKAGE)/Policy/PlatformCpuPolicy/PlatformCpuPolicy.inf
  142. $(PLATFORM_BOARD_PACKAGE)/Pci/PciPlatform/PciPlatform.inf
  143. $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf {
  144. <BuildOptions>
  145. MSFT:*_*_*_ASLCC_FLAGS = /D PURLEY_FLAG /D PCH_SPT
  146. GCC:*_*_*_ASLCC_FLAGS = -D PURLEY_FLAG -D PCH_SPT
  147. }
  148. # This is for prebuild only. No need to include in final FDF.
  149. $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/Dsdt.inf {
  150. <BuildOptions>
  151. MSFT:*_*_*_ASLCC_FLAGS = /D PURLEY_FLAG /D PCH_SPT
  152. GCC:*_*_*_ASLCC_FLAGS = -D PURLEY_FLAG -D PCH_SPT
  153. }
  154. IntelSiliconPkg/Feature/Flash/SpiFvbService/SpiFvbServiceSmm.inf
  155. $(PLATFORM_PACKAGE)/Acpi/AcpiTables/AcpiPlatform.inf
  156. $(PLATFORM_PACKAGE)/Acpi/AcpiSmm/AcpiSmm.inf {
  157. <LibraryClasses>
  158. BoardAcpiEnableLib|$(PROJECT)/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
  159. }
  160. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
  161. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
  162. $(PLATFORM_BOARD_PACKAGE)/Policy/S3NvramSave/S3NvramSave.inf
  163. #
  164. # Shell
  165. #
  166. ShellPkg/Application/Shell/Shell.inf {
  167. <PcdsFixedAtBuild>
  168. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  169. <LibraryClasses>
  170. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  171. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  172. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  173. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  174. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  175. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  176. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  177. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  178. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  179. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  180. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  181. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  182. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  183. }
  184. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf