123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- ## @file
- # The main build description file for the TiogaPass board.
- #
- # Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
- # Copyright (c) 2021, American Megatrends International LLC.<BR>
- # SPDX-License-Identifier: BSD-2-Clause-Patent
- #
- ##
- ################################################################################
- #
- # Defines Section - statements that will be processed to create a Makefile.
- #
- ################################################################################
- [Defines]
- DEFINE PLATFORM_PACKAGE = MinPlatformPkg
- DEFINE PLATFORM_SI_PACKAGE = PurleyRefreshSiliconPkg
- DEFINE PLATFORM_SI_BIN_PACKAGE = PurleySiliconBinPkg
- DEFINE PLATFORM_BOARD_PACKAGE = PurleyOpenBoardPkg
- DEFINE BOARD = BoardTiogaPass
- DEFINE PROJECT = $(PLATFORM_BOARD_PACKAGE)/$(BOARD)
- DEFINE PEI_ARCH = IA32
- DEFINE DXE_ARCH = X64
- PLATFORM_NAME = PurleyOpenBoardPkg
- PLATFORM_GUID = D7EAF54D-C9B9-4075-89F0-71943DBCFA61
- PLATFORM_VERSION = 0.1
- DSC_SPECIFICATION = 0x00010005
- OUTPUT_DIRECTORY = Build/$(PROJECT)
- SUPPORTED_ARCHITECTURES = IA32|X64
- BUILD_TARGETS = DEBUG|RELEASE
- SKUID_IDENTIFIER = DEFAULT
- FLASH_DEFINITION = $(PROJECT)/OpenBoardPkg.fdf
- FIX_LOAD_TOP_MEMORY_ADDRESS = 0x0
- DEFINE NETWORK_ISCSI_ENABLE = TRUE
- #
- # Platform On/Off features are defined here
- #
- !include $(PROJECT)/PlatformPkgConfig.dsc
- #
- # Include PCD configuration for this board.
- #
- !include AdvancedFeaturePkg/Include/AdvancedFeaturesPcd.dsc
- !include PlatformPkgPcd.dsc
- !include AdvancedFeaturePkg/Include/AdvancedFeatures.dsc
- ################################################################################
- #
- # SKU Identification section - list of all SKU IDs supported by this
- # Platform.
- #
- ################################################################################
- [SkuIds]
- 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
- [DefaultStores]
- 0|STANDARD # UEFI Standard default 0|STANDARD is reserved.
- 1|MANUFACTURING # UEFI Manufacturing default 1|MANUFACTURING is reserved.
- ################################################################################
- #
- # Includes section - other DSC file contents included for this board build.
- #
- ################################################################################
- #######################################
- # Library Includes
- #######################################
- !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreCommonLib.dsc
- !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiLib.dsc
- !include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeLib.dsc
- !include $(PLATFORM_SI_PACKAGE)/SiPkgCommonLib.dsc
- !include $(PLATFORM_SI_PACKAGE)/SiPkgPeiLib.dsc
- !include $(PLATFORM_SI_PACKAGE)/SiPkgDxeLib.dsc
- #######################################
- # Component Includes
- #######################################
- [Components.$(PEI_ARCH)]
- !include $(PLATFORM_PACKAGE)/Include/Dsc/CorePeiInclude.dsc
- [Components.$(DXE_ARCH)]
- #TiogaPass Override START : Added Board Specific changes in core drivers
- #!include $(PLATFORM_PACKAGE)/Include/Dsc/CoreDxeInclude.dsc
- !include CoreDxeInclude.dsc
- #TiogaPass Override END
- #######################################
- # Build Option Includes
- #######################################
- !include $(PROJECT)/PlatformPkgBuildOption.dsc
- ################################################################################
- #
- # Library Class section - list of all Library Classes needed by this Platform.
- #
- ################################################################################
- [LibraryClasses.common]
- !if gPlatformTokenSpaceGuid.PcdLinuxBootEnable == TRUE
- LinuxBootLib|$(PLATFORM_BOARD_PACKAGE)/Features/LinuxBoot/LinuxBoot.inf
- LoadLinuxLib|OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf
- !else
- LinuxBootLib|$(PLATFORM_BOARD_PACKAGE)/Features/LinuxBoot/LinuxBootNull.inf
- !endif
- !if gPlatformTokenSpaceGuid.PcdFastBoot == FALSE
- PlatformBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
- !else
- PlatformBootManagerLib|$(PLATFORM_BOARD_PACKAGE)/Override/Platform/Intel/MinPlatformPkg/Bds/Library/DxePlatformBootManagerLib/DxePlatformBootManagerLib.inf
- !endif
- ReportFvLib|$(PROJECT)/Library/PeiReportFvLib/PeiReportFvLib.inf
- TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLibNull/TestPointCheckLibNull.inf
- CompressLib|$(PLATFORM_PACKAGE)/Library/CompressLib/CompressLib.inf
- PciSegmentInfoLib|$(PLATFORM_PACKAGE)/Pci/Library/PciSegmentInfoLibSimple/PciSegmentInfoLibSimple.inf
- AslUpdateLib|$(PLATFORM_PACKAGE)/Acpi/Library/DxeAslUpdateLib/DxeAslUpdateLib.inf
- #
- # Board
- #
- SiliconPolicyInitLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/SiliconPolicyInitLib/SiliconPolicyInitLib.inf
- SiliconPolicyUpdateLib|$(PLATFORM_BOARD_PACKAGE)/Policy/Library/SiliconPolicyUpdateLib/SiliconPolicyUpdateLib.inf
- PlatformHookLib|$(PROJECT)/Library/BasePlatformHookLib/BasePlatformHookLib.inf
- BoardInitLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/BoardInitLibNull/BoardInitLibNull.inf
- !if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
- IpmiPlatformHookLib|$(PLATFORM_BOARD_PACKAGE)/Features/Ipmi/Library/IpmiPlatformHookLib/IpmiPlatformHookLib.inf
- !endif
- [LibraryClasses.IA32]
- !if $(TARGET) == DEBUG
- TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/PeiTestPointCheckLib.inf
- !endif
- TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/PeiTestPointLib.inf
- SetCacheMtrrLib|$(PLATFORM_PACKAGE)/Library/SetCacheMtrrLib/SetCacheMtrrLib.inf
- ReportCpuHobLib|$(PLATFORM_PACKAGE)/PlatformInit/Library/ReportCpuHobLib/ReportCpuHobLib.inf
- !if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
- IpmiBaseLib|OutOfBandManagement/IpmiFeaturePkg/Library/PeiIpmiBaseLib/PeiIpmiBaseLib.inf
- !endif
- [LibraryClasses.X64]
- BoardAcpiTableLib|$(PROJECT)/Library/BoardAcpiLib/DxeBoardAcpiTableLib.inf
- !if $(TARGET) == DEBUG
- TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/DxeTestPointCheckLib.inf
- !endif
- TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/DxeTestPointLib.inf
- BoardBootManagerLib|$(PLATFORM_PACKAGE)/Bds/Library/BoardBootManagerLibNull/BoardBootManagerLibNull.inf
- !if gPlatformTokenSpaceGuid.PcdFastBoot == FALSE
- BoardBdsHookLib|BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.inf
- !else
- BoardBdsHookLib|$(PLATFORM_BOARD_PACKAGE)/Override/Platform/Intel/BoardModulePkg/Library/BoardBdsHookLib/BoardBdsHookLib.inf
- !endif
- !if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
- IpmiBaseLib|OutOfBandManagement/IpmiFeaturePkg/Library/IpmiBaseLib/IpmiBaseLib.inf
- !endif
- [LibraryClasses.X64.DXE_SMM_DRIVER]
- !if $(TARGET) == DEBUG
- TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/SmmTestPointCheckLib.inf
- !endif
- TestPointLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointLib/SmmTestPointLib.inf
- !if gIpmiFeaturePkgTokenSpaceGuid.PcdIpmiFeatureEnable == TRUE
- IpmiBaseLib|OutOfBandManagement/IpmiFeaturePkg/Library/SmmIpmiBaseLib/SmmIpmiBaseLib.inf
- !endif
- [Components.IA32]
- $(PLATFORM_SI_BIN_PACKAGE)/FV/FvTempMemorySilicon/$(TARGET)/FvTempMemorySilicon.inf
- $(PLATFORM_SI_BIN_PACKAGE)/FV/FvPreMemorySilicon/$(TARGET)/FvPreMemorySilicon.inf
- $(PLATFORM_SI_BIN_PACKAGE)/FV/FvPostMemorySilicon/$(TARGET)/FvPostMemorySilicon.inf
- $(PLATFORM_BOARD_PACKAGE)/Policy/SystemBoard/SystemBoardPei.inf
- $(PLATFORM_PACKAGE)/PlatformInit/ReportFv/ReportFvPei.inf
- $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPreMem.inf {
- <LibraryClasses>
- BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPreMemLib.inf
- }
- $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitPei/PlatformInitPostMem.inf {
- <LibraryClasses>
- BoardInitLib|$(PROJECT)/Library/BoardInitLib/PeiBoardInitPostMemLib.inf
- }
- $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPreMem.inf
- $(PLATFORM_PACKAGE)/PlatformInit/SiliconPolicyPei/SiliconPolicyPeiPostMem.inf
- [Components.X64]
- $(PLATFORM_SI_BIN_PACKAGE)/FV/FvLateSilicon/$(TARGET)/FvLateSilicon.inf
- $(PLATFORM_SI_BIN_PACKAGE)/Microcode/Microcode.inf
- $(PLATFORM_BOARD_PACKAGE)/Policy/IioUdsDataDxe/IioUdsDataDxe.inf
- $(PLATFORM_BOARD_PACKAGE)/Policy/PlatformCpuPolicy/PlatformCpuPolicy.inf
- $(PLATFORM_BOARD_PACKAGE)/Pci/PciPlatform/PciPlatform.inf
- $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/BoardAcpiDxe.inf {
- <BuildOptions>
- MSFT:*_*_*_ASLCC_FLAGS = /D PURLEY_FLAG /D PCH_SPT
- GCC:*_*_*_ASLCC_FLAGS = -D PURLEY_FLAG -D PCH_SPT
- }
- # This is for prebuild only. No need to include in final FDF.
- $(PLATFORM_BOARD_PACKAGE)/Acpi/BoardAcpiDxe/Dsdt.inf {
- <BuildOptions>
- MSFT:*_*_*_ASLCC_FLAGS = /D PURLEY_FLAG /D PCH_SPT
- GCC:*_*_*_ASLCC_FLAGS = -D PURLEY_FLAG -D PCH_SPT
- }
- IntelSiliconPkg/Feature/Flash/SpiFvbService/SpiFvbServiceSmm.inf
- $(PLATFORM_PACKAGE)/Acpi/AcpiTables/AcpiPlatform.inf
- $(PLATFORM_PACKAGE)/Acpi/AcpiSmm/AcpiSmm.inf {
- <LibraryClasses>
- BoardAcpiEnableLib|$(PROJECT)/Library/BoardAcpiLib/SmmBoardAcpiEnableLib.inf
- }
- $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitDxe/PlatformInitDxe.inf
- $(PLATFORM_PACKAGE)/PlatformInit/PlatformInitSmm/PlatformInitSmm.inf
- $(PLATFORM_BOARD_PACKAGE)/Policy/S3NvramSave/S3NvramSave.inf
- BoardModulePkg/BoardBdsHookDxe/BoardBdsHookDxe.inf
- #
- # Shell
- #
- ShellPkg/Application/Shell/Shell.inf {
- <PcdsFixedAtBuild>
- gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
- <LibraryClasses>
- NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
- NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
- NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
- NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
- NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
- NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
- NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
- NULL|ShellPkg/Library/UefiShellNetwork2CommandsLib/UefiShellNetwork2CommandsLib.inf
- ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
- HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
- BcfgCommandLib|ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.inf
- ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
- ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
- }
- MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf
- !if gSmbiosFeaturePkgTokenSpaceGuid.PcdSmbiosFeatureEnable == TRUE
- MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
- !endif
|