2010-02-24 03:28:56 +01:00
|
|
|
## @file
|
2016-12-08 10:09:59 +01:00
|
|
|
# Build Binary Enhanced Fat Driver Modules.
|
2007-12-20 10:16:45 +01:00
|
|
|
#
|
|
|
|
# This Platform file is used to generate the Binary Fat Drivers
|
|
|
|
# for EDK II Prime release.
|
2021-03-12 06:22:10 +01:00
|
|
|
# Copyright (c) 2007 - 2021, Intel Corporation. All rights reserved.<BR>
|
2020-02-28 08:29:52 +01:00
|
|
|
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
2021-10-12 14:16:07 +02:00
|
|
|
# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
|
2007-12-20 10:16:45 +01:00
|
|
|
#
|
2019-04-04 01:03:46 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2007-12-20 10:16:45 +01:00
|
|
|
#
|
2010-02-24 03:28:56 +01:00
|
|
|
##
|
2007-12-20 10:16:45 +01:00
|
|
|
|
|
|
|
[Defines]
|
|
|
|
PLATFORM_NAME = Fat
|
|
|
|
PLATFORM_GUID = 25b55dbc-9d0b-4a32-80da-46e1273d622c
|
2014-01-10 08:17:13 +01:00
|
|
|
PLATFORM_VERSION = 0.3
|
2007-12-20 10:16:45 +01:00
|
|
|
DSC_SPECIFICATION = 0x00010005
|
2021-10-12 14:16:07 +02:00
|
|
|
SUPPORTED_ARCHITECTURES = IA32|X64|EBC|ARM|AARCH64|RISCV64|LOONGARCH64
|
2007-12-20 10:16:45 +01:00
|
|
|
OUTPUT_DIRECTORY = Build/Fat
|
2016-01-25 03:30:45 +01:00
|
|
|
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
2007-12-20 10:16:45 +01:00
|
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
|
|
|
2011-07-01 02:37:55 +02:00
|
|
|
[BuildOptions]
|
|
|
|
GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
|
|
|
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
|
|
|
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
2016-08-01 07:50:50 +02:00
|
|
|
*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES
|
2011-07-01 02:37:55 +02:00
|
|
|
|
2021-03-12 06:22:10 +01:00
|
|
|
!include MdePkg/MdeLibs.dsc.inc
|
|
|
|
|
2010-02-24 03:28:56 +01:00
|
|
|
[LibraryClasses]
|
2007-12-20 10:16:45 +01:00
|
|
|
#
|
|
|
|
# Entry Point Libraries
|
|
|
|
#
|
|
|
|
UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
|
|
|
#
|
|
|
|
# Common Libraries
|
|
|
|
#
|
|
|
|
BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
|
|
|
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
|
|
|
UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
|
|
|
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
2011-07-27 19:25:45 +02:00
|
|
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
2008-11-06 02:37:08 +01:00
|
|
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
2007-12-20 10:16:45 +01:00
|
|
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
|
|
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
|
|
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
2018-06-27 15:06:14 +02:00
|
|
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
2009-01-04 04:50:43 +01:00
|
|
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
2007-12-20 10:16:45 +01:00
|
|
|
|
2011-07-01 02:37:55 +02:00
|
|
|
[LibraryClasses.common.PEIM]
|
|
|
|
PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
|
|
|
|
PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
|
|
|
|
PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
|
|
|
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
|
|
|
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
|
|
|
|
2013-07-19 03:49:30 +02:00
|
|
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
2012-06-08 05:08:32 +02:00
|
|
|
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
2014-09-10 03:32:03 +02:00
|
|
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
2012-06-08 05:08:32 +02:00
|
|
|
|
2009-02-10 09:56:09 +01:00
|
|
|
###################################################################################################
|
|
|
|
#
|
|
|
|
# Components Section - list of the modules and components that will be processed by compilation
|
|
|
|
# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
|
|
|
|
#
|
|
|
|
# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
|
|
|
|
# into firmware volume images. This section is just a list of modules to compile from
|
|
|
|
# source into UEFI-compliant binaries.
|
|
|
|
# It is the FDF file that contains information on combining binary files into firmware
|
|
|
|
# volume images, whose concept is beyond UEFI and is described in PI specification.
|
|
|
|
# Binary modules do not need to be listed in this section, as they should be
|
|
|
|
# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
|
|
|
|
# Logo (Logo.bmp), and etc.
|
|
|
|
# There may also be modules listed in this section that are not required in the FDF file,
|
|
|
|
# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
|
|
|
|
# generated for it, but the binary will not be put into any firmware volume.
|
|
|
|
#
|
|
|
|
###################################################################################################
|
|
|
|
|
2010-02-24 03:28:56 +01:00
|
|
|
[Components]
|
2011-07-01 02:37:55 +02:00
|
|
|
FatPkg/FatPei/FatPei.inf
|
2009-01-04 04:50:43 +01:00
|
|
|
FatPkg/EnhancedFatDxe/Fat.inf
|