OpenBoardPkg.dsc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. ## @file
  2. # The main build description file for the X58Ich10 board.
  3. #
  4. # Copyright (c) 2019, 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 BOARD_NAME = BoardX58Ich10
  17. DEFINE BOARD_PKG = SimicsOpenBoardPkg
  18. DEFINE SKT_PKG = SimicsX58SktPkg
  19. DEFINE PCH_PKG = SimicsIch10Pkg
  20. DEFINE DXE_ARCH = X64
  21. DEFINE PEI_ARCH = IA32
  22. PLATFORM_NAME = SimicsX58
  23. PLATFORM_GUID = EE8EBB5A-CC95-412f-9987-2AF70F88B69A
  24. PLATFORM_VERSION = 0.1
  25. DSC_SPECIFICATION = 0x00010005
  26. OUTPUT_DIRECTORY = Build/SimicsX58Ia32X64
  27. SUPPORTED_ARCHITECTURES = IA32|X64
  28. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  29. SKUID_IDENTIFIER = DEFAULT
  30. FLASH_DEFINITION = $(BOARD_PKG)/$(BOARD_NAME)/OpenBoardPkg.fdf
  31. DEFINE SMM_REQUIRE = TRUE
  32. #
  33. # PLATFORMX64_ENABLE is set to TRUE when PEI is IA32 and DXE is X64 platform
  34. #
  35. DEFINE PLATFORMX64_ENABLE = TRUE
  36. DEFINE NETWORK_TLS_ENABLE = FALSE
  37. DEFINE NETWORK_ISCSI_ENABLE = FALSE
  38. DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
  39. !include $(BOARD_PKG)/$(BOARD_NAME)/OpenBoardPkgPcd.dsc
  40. !include NetworkPkg/NetworkDefines.dsc.inc
  41. ################################################################################
  42. #
  43. # SKU Identification section - list of all SKU IDs supported by this board.
  44. #
  45. ################################################################################
  46. [SkuIds]
  47. 0|DEFAULT
  48. ################################################################################
  49. #
  50. # Includes section - other DSC file contents included for this board build.
  51. #
  52. ################################################################################
  53. #######################################
  54. # Library Includes
  55. #######################################
  56. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreCommonLib.dsc
  57. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiLib.dsc
  58. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeLib.dsc
  59. !include $(PCH_PKG)/IchCommonLib.dsc
  60. #######################################
  61. # Component Includes
  62. #######################################
  63. [Components.IA32]
  64. !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiInclude.dsc
  65. !include $(SKT_PKG)/SktPkgPei.dsc
  66. [Components.X64]
  67. !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeInclude.dsc
  68. !include AdvancedFeaturePkg/Include/Dsc/CoreAdvancedDxeInclude.dsc
  69. #######################################
  70. # Build Option Includes
  71. #######################################
  72. !include $(BOARD_PKG)/$(BOARD_NAME)/OpenBoardPkgBuildOption.dsc
  73. ################################################################################
  74. #
  75. # Library Class section - list of all Library Classes needed by this board.
  76. #
  77. ################################################################################
  78. [LibraryClasses]
  79. #######################################
  80. # Edk2 Packages
  81. #######################################
  82. BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf
  83. CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf
  84. S3BootScriptLib|MdeModulePkg/Library/PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf
  85. SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
  86. #####################################
  87. # Platform Package
  88. #####################################
  89. AslUpdateLib|$(PLATFORM_PACKAGE)/Acpi/Library/DxeAslUpdateLib/DxeAslUpdateLib.inf
  90. BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
  91. PciSegmentInfoLib|$(PLATFORM_PACKAGE)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
  92. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
  93. #######################################
  94. # Board Package
  95. #######################################
  96. DxeLoadLinuxLib|$(BOARD_PKG)/Library/LoadLinuxLib/DxeLoadLinuxLib.inf
  97. LogoLib|$(BOARD_PKG)/Library/DxeLogoLib/DxeLogoLib.inf
  98. NvVarsFileLib|$(BOARD_PKG)/Library/NvVarsFileLib/NvVarsFileLib.inf
  99. ReportFvLib|$(BOARD_PKG)/Library/PeiReportFvLib/PeiReportFvLib.inf
  100. SerializeVariablesLib|$(BOARD_PKG)/Library/SerializeVariablesLib/SerializeVariablesLib.inf
  101. SiliconPolicyInitLib|$(BOARD_PKG)/Policy/Library/SiliconPolicyInitLib/SiliconPolicyInitLib.inf
  102. SiliconPolicyUpdateLib|$(BOARD_PKG)/Policy/Library/SiliconPolicyUpdateLib/SiliconPolicyUpdateLib.inf
  103. [LibraryClasses.common.SEC]
  104. #######################################
  105. # Edk2 Packages
  106. #######################################
  107. ExtractGuidedSectionLib|MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.inf
  108. [LibraryClasses.common.PEIM]
  109. #######################################
  110. # Edk2 Packages
  111. #######################################
  112. PeiResourcePublicationLib|MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
  113. MpInitLib|UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf
  114. #####################################
  115. # Platform Package
  116. #####################################
  117. !if $(TARGET) == DEBUG
  118. TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
  119. !endif
  120. TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
  121. [LibraryClasses.common.DXE_DRIVER]
  122. #######################################
  123. # Board Package
  124. #######################################
  125. PlatformBootManagerLib|$(BOARD_PKG)/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf
  126. [LibraryClasses.common.DXE_SMM_DRIVER]
  127. #######################################
  128. # Silicon Initialization Package
  129. #######################################
  130. SpiFlashCommonLib|$(PCH_PKG)/Library/SmmSpiFlashCommonLib/SmmSpiFlashCommonLib.inf
  131. [Components.IA32]
  132. #######################################
  133. # Edk2 Packages
  134. #######################################
  135. # S3 SMM driver
  136. # @todo: UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.inf
  137. UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf {
  138. <LibraryClasses>
  139. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
  140. }
  141. #######################################
  142. # Silicon Initialization Package
  143. #######################################
  144. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  145. $(SKT_PKG)/Smm/Access/SmmAccessPei.inf {
  146. <LibraryClasses>
  147. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  148. }
  149. !endif
  150. #####################################
  151. # Platform Package
  152. #####################################
  153. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
  154. <LibraryClasses>
  155. BoardInitLib|$(BOARD_PKG)/$(BOARD_NAME)/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
  156. }
  157. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
  158. <LibraryClasses>
  159. BoardInitLib|$(BOARD_PKG)/$(BOARD_NAME)/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
  160. }
  161. $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
  162. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf
  163. $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf
  164. #######################################
  165. # Board Package
  166. #######################################
  167. $(BOARD_PKG)/SecCore/SecMain.inf {
  168. <LibraryClasses>
  169. NULL|MdeModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
  170. }
  171. $(BOARD_PKG)/SimicsPei/SimicsPei.inf {
  172. <LibraryClasses>
  173. PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
  174. }
  175. [Components.X64]
  176. #######################################
  177. # Edk2 Packages
  178. #######################################
  179. MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf
  180. MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf
  181. MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
  182. MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
  183. MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf
  184. MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf {
  185. <LibraryClasses>
  186. PciHostBridgeLib|$(BOARD_PKG)/Library/PciHostBridgeLib/PciHostBridgeLib.inf
  187. }
  188. MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
  189. MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
  190. MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe.inf
  191. MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/BootScriptExecutorDxe.inf
  192. MdeModulePkg/Universal/Acpi/S3SaveStateDxe/S3SaveStateDxe.inf
  193. MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
  194. MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
  195. MdeModulePkg/Universal/PrintDxe/PrintDxe.inf
  196. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  197. MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf {
  198. <LibraryClasses>
  199. LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
  200. }
  201. UefiCpuPkg/CpuS3DataDxe/CpuS3DataDxe.inf
  202. UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
  203. !endif
  204. UefiCpuPkg/CpuDxe/CpuDxe.inf
  205. ShellPkg/Application/Shell/Shell.inf {
  206. <PcdsFixedAtBuild>
  207. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
  208. <LibraryClasses>
  209. NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
  210. NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
  211. NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
  212. NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
  213. NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
  214. NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
  215. NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
  216. NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
  217. ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
  218. HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
  219. BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
  220. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  221. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  222. }
  223. #######################################
  224. # Silicon Initialization Package
  225. #######################################
  226. SimicsIch10BinPkg/UndiBinary/UndiDxe.inf
  227. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  228. $(PCH_PKG)/SmmControl/RuntimeDxe/SmmControl2Dxe.inf
  229. $(PCH_PKG)/Spi/Smm/PchSpiSmm.inf
  230. $(SKT_PKG)/Smm/Access/SmmAccess2Dxe.inf
  231. !endif
  232. #####################################
  233. # Platform Package
  234. #####################################
  235. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
  236. $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
  237. !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly == FALSE
  238. $(PLATFORM_PACKAGE)/Flash/SpiFvbService/SpiFvbServiceSmm.inf
  239. !endif
  240. #######################################
  241. # Advanced Feature Package
  242. #######################################
  243. !if gAdvancedFeaturePkgTokenSpaceGuid.PcdSmbiosEnable == TRUE
  244. AdvancedFeaturePkg/Smbios/SmbiosBasicDxe/SmbiosBasicDxe.inf
  245. !endif
  246. #######################################
  247. # Board Package
  248. #######################################
  249. $(BOARD_PKG)/AcpiTables/AcpiTables.inf
  250. $(BOARD_PKG)/AcpiTables/MinPlatformAcpiTables/AcpiPlatform.inf
  251. $(BOARD_PKG)/LegacySioDxe/LegacySioDxe.inf
  252. $(BOARD_PKG)/SimicsDxe/SimicsDxe.inf
  253. $(BOARD_PKG)/SimicsVideoDxe/SimicsVideoDxe.inf
  254. $(BOARD_PKG)/SmbiosPlatformDxe/SmbiosPlatformDxe.inf