OpenBoardPkg.dsc 13 KB

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