mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-10-31 15:06:49 +00:00 
			
		
		
		
	 dd178f0f93
			
		
	
	
		dd178f0f93
		
	
	
	
	
		
			
			Contrary to what the name suggests, some modules in this package are used on other architecture. ARM is already listed in SUPPORTED_ARCHITECTURES in the .dsc, but AARCH64 was never added. Add that, and force inclusion of CompilerIntrinsicsLib and BaseStackCheckLib for AARCH64/ARM to make the build successful. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com>
		
			
				
	
	
		
			186 lines
		
	
	
		
			9.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			186 lines
		
	
	
		
			9.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ## @file
 | |
| # Intel Framework Reference Module Package for All Architectures
 | |
| #
 | |
| # This file is used to build all modules in IntelFrameworkModulePkg.
 | |
| #
 | |
| #Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
 | |
| #This program and the accompanying materials are licensed and made available under
 | |
| #the terms and conditions of the BSD License that accompanies this distribution.
 | |
| #The full text of the license may be found at
 | |
| #http://opensource.org/licenses/bsd-license.php.
 | |
| #
 | |
| # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | |
| # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | |
| #
 | |
| ##
 | |
| 
 | |
| ################################################################################
 | |
| #
 | |
| # Defines Section - statements that will be processed to create a Makefile.
 | |
| #
 | |
| ################################################################################
 | |
| [Defines]
 | |
|   PLATFORM_NAME                  = IntelFrameworkModuleAll
 | |
|   PLATFORM_GUID                  = FFF87D9A-E5BB-4AFF-9ADE-8645492E8087
 | |
|   PLATFORM_VERSION               = 0.96
 | |
|   DSC_SPECIFICATION              = 0x00010005
 | |
|   OUTPUT_DIRECTORY               = Build/IntelFrameworkModuleAll
 | |
|   SUPPORTED_ARCHITECTURES        = IA32|X64|EBC|ARM|AARCH64
 | |
|   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT
 | |
|   SKUID_IDENTIFIER               = DEFAULT
 | |
| 
 | |
| ################################################################################
 | |
| #
 | |
| # SKU Identification section - list of all SKU IDs supported by this
 | |
| #                              Platform.
 | |
| #
 | |
| ################################################################################
 | |
| [SkuIds]
 | |
|   0|DEFAULT              # The entry: 0|DEFAULT is reserved and always required.
 | |
| 
 | |
| [LibraryClasses]
 | |
|   CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
 | |
|   DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
 | |
|   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
 | |
|   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
 | |
|   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
 | |
|   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
 | |
|   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
 | |
|   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | |
|   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
 | |
|   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
 | |
|   TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
 | |
|   OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
 | |
|   SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
 | |
|   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
 | |
|   GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
 | |
|   BmpSupportLib|MdeModulePkg/Library/BaseBmpSupportLib/BaseBmpSupportLib.inf
 | |
|   SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
 | |
|   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
 | |
|   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
 | |
|   PlatformBdsLib|IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf
 | |
|   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
 | |
|   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
 | |
|   PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
 | |
|   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
 | |
|   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
 | |
|   ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
 | |
|   PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
 | |
|   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
 | |
|   PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
 | |
|   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
 | |
|   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
 | |
|   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
 | |
|   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
 | |
|   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
 | |
|   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
 | |
|   PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
 | |
| 
 | |
| [LibraryClasses.ARM, LibraryClasses.AARCH64]
 | |
|   #
 | |
|   # It is not possible to prevent the ARM compiler for generic intrinsic functions.
 | |
|   # This library provides the instrinsic functions generate by a given compiler.
 | |
|   # And NULL mean link this library into all ARM images.
 | |
|   #
 | |
|   NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
 | |
| 
 | |
|   # Add support for GCC stack protector
 | |
|   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
 | |
| 
 | |
| [LibraryClasses.common.PEIM]
 | |
|   HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
 | |
|   PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
 | |
|   MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
 | |
| 
 | |
| [LibraryClasses.EBC.PEIM]
 | |
|   IoLib|MdePkg/Library/PeiIoLibCpuIo/PeiIoLibCpuIo.inf
 | |
| 
 | |
| [LibraryClasses.common.DXE_DRIVER]
 | |
|   LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxDxeLib.inf
 | |
| 
 | |
| [LibraryClasses.common.DXE_DRIVER, LibraryClasses.common.DXE_RUNTIME_DRIVER, LibraryClasses.common.UEFI_DRIVER]
 | |
|   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
 | |
|   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
 | |
| 
 | |
| [LibraryClasses.common.DXE_RUNTIME_DRIVER]
 | |
|   DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
 | |
| 
 | |
| ################################################################################
 | |
| #
 | |
| # Pcd Section - list of all EDK II PCD Entries defined by this Platform
 | |
| #
 | |
| ################################################################################
 | |
| [PcdsFeatureFlag]
 | |
|   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSerialUseHalfHandshake|FALSE
 | |
| 
 | |
| [PcdsFixedAtBuild]
 | |
|   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
 | |
|   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x06
 | |
|   gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
 | |
| 
 | |
| [Components]
 | |
|   IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.inf
 | |
|   IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
 | |
|   IntelFrameworkModulePkg/Library/PeiS3Lib/PeiS3Lib.inf
 | |
|   IntelFrameworkModulePkg/Library/PeiRecoveryLib/PeiRecoveryLib.inf
 | |
|   IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
 | |
|   IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFramework/SmmRuntimeDxeReportStatusCodeLibFramework.inf
 | |
|   IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
 | |
|   IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf
 | |
|   IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
 | |
|   IntelFrameworkModulePkg/Library/DxeCapsuleLib/DxeCapsuleLib.inf
 | |
|   IntelFrameworkModulePkg/Library/LegacyBootManagerLib/LegacyBootManagerLib.inf
 | |
|   IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
 | |
| 
 | |
|   IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
 | |
|   IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
 | |
|   IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/IsaIoDxe.inf
 | |
|   IntelFrameworkModulePkg/Bus/Isa/IsaFloppyPei/IsaFloppyPei.inf
 | |
|   IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
 | |
|   IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
 | |
|   IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
 | |
|   IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf
 | |
|   IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/Ps2MouseAbsolutePointerDxe.inf
 | |
|   IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
 | |
| 
 | |
|   IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/KeyboardDxe.inf
 | |
|   IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/VideoDxe.inf
 | |
|   IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/BlockIoDxe.inf
 | |
|   IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/Snp16Dxe.inf
 | |
| 
 | |
|   IntelFrameworkModulePkg/Universal/Acpi/AcpiSupportDxe/AcpiSupportDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtractionDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/DataHubStdErrDxe/DataHubStdErrDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.inf
 | |
|   IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/LegacyRegionDxe/LegacyRegionDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/FwVolDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/UpdateDriverDxe.inf
 | |
| 
 | |
| [Components.IA32,Components.X64]
 | |
|   IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf
 | |
|   IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaArchCustomDecompressLib.inf
 | |
| 
 | |
| [Components.IA32,Components.X64]
 | |
|   IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosDxe.inf
 | |
| 
 | |
| [Components.IA32]
 | |
|   IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf {
 | |
|     <LibraryClasses>
 | |
|       IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | |
|   }
 | |
| 
 | |
| [Components.X64]
 | |
|   IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.inf
 | |
|   IntelFrameworkModulePkg/Universal/CpuIoDxe/CpuIoDxe.inf {
 | |
|     <LibraryClasses>
 | |
|       IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
 | |
|   }
 | |
| 
 | |
| [BuildOptions]
 | |
|   *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
 |