#/** @file | |
# | |
# Copyright (c) 2017 - 2019, Linaro Ltd. All rights reserved.<BR> | |
# | |
# This library is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU Lesser General Public | |
# License as published by the Free Software Foundation; either | |
# version 2 of the License, or (at your option) any later version. | |
# | |
#**/ | |
################################################################################ | |
# | |
# Defines Section - statements that will be processed to create a Makefile. | |
# | |
################################################################################ | |
[Defines] | |
PLATFORM_NAME = X86Emulator | |
PLATFORM_GUID = 62ad1d2c-27bf-4021-b32d-268d0e71c032 | |
PLATFORM_VERSION = 0.1 | |
DSC_SPECIFICATION = 1.28 | |
OUTPUT_DIRECTORY = Build/X86Emulator | |
SUPPORTED_ARCHITECTURES = 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. | |
################################################################################ | |
# | |
# Library Class section - list of all Library Classes needed by this Platform. | |
# | |
################################################################################ | |
[LibraryClasses.common] | |
ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerVirtCounterLib/ArmGenericTimerVirtCounterLib.inf | |
ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf | |
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf | |
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf | |
CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf | |
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf | |
!if $(TARGET) == RELEASE | |
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf | |
!else | |
DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf | |
!endif | |
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf | |
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf | |
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf | |
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf | |
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf | |
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf | |
PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf | |
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf | |
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf | |
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf | |
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf | |
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf | |
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf | |
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf | |
[LibraryClasses.AARCH64] | |
ArmDisassemblerLib|ArmPkg/Library/ArmDisassemblerLib/ArmDisassemblerLib.inf | |
DefaultExceptionHandlerLib|ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf | |
TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf | |
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf | |
[BuildOptions] | |
GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG | |
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES | |
################################################################################ | |
# | |
# Components Section - list of all Modules needed by this Platform | |
# | |
################################################################################ | |
[Components] | |
X86EmulatorPkg/X86Emulator.inf |