mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-20 15:48:18 +01:00
121 lines
5.9 KiB
Plaintext
121 lines
5.9 KiB
Plaintext
|
## @file
|
||
|
#
|
||
|
# Build Binary Enhanced Fat Driver Modules
|
||
|
#
|
||
|
# This Platform file is used to generate the Binary Fat Drivers
|
||
|
# for EDK II Prime release.
|
||
|
# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>
|
||
|
#
|
||
|
# Redistribution and use in source and binary forms, with or without
|
||
|
# modification, are permitted provided that the following conditions are
|
||
|
# met:
|
||
|
#
|
||
|
# Redistributions of source code must retain the above copyright
|
||
|
# notice, this list of conditions and the following disclaimer.
|
||
|
#
|
||
|
# Redistributions in binary form must reproduce the above copyright
|
||
|
# notice, this list of conditions and the following disclaimer in
|
||
|
# the documentation and/or other materials provided with the
|
||
|
# distribution.
|
||
|
#
|
||
|
# Neither the name of Intel nor the names of its contributors may
|
||
|
# be used to endorse or promote products derived from this software
|
||
|
# without specific prior written permission.
|
||
|
#
|
||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||
|
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||
|
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||
|
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||
|
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||
|
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||
|
#
|
||
|
# Additional terms: In addition to the forgoing, redistribution and use
|
||
|
# of the code is conditioned upon the FAT 32 File System Driver and all
|
||
|
# derivative works thereof being used for and designed only to read
|
||
|
# and/or write to a file system that is directly managed by an
|
||
|
# Extensible Firmware Interface (EFI) implementation or by an emulator
|
||
|
# of an EFI implementation.
|
||
|
#
|
||
|
##
|
||
|
|
||
|
[Defines]
|
||
|
PLATFORM_NAME = Fat
|
||
|
PLATFORM_GUID = 25b55dbc-9d0b-4a32-80da-46e1273d622c
|
||
|
PLATFORM_VERSION = 0.3
|
||
|
DSC_SPECIFICATION = 0x00010005
|
||
|
SUPPORTED_ARCHITECTURES = IA32|X64|IPF|EBC|ARM|AARCH64
|
||
|
OUTPUT_DIRECTORY = Build/Fat
|
||
|
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
||
|
SKUID_IDENTIFIER = DEFAULT
|
||
|
FLASH_DEFINITION = Clover/FatPkg/FatPkg.fdf
|
||
|
|
||
|
[BuildOptions]
|
||
|
GCC:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
||
|
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||
|
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||
|
RVCT:RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG
|
||
|
|
||
|
[LibraryClasses]
|
||
|
#
|
||
|
# 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
|
||
|
PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
||
|
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
||
|
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
||
|
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
||
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||
|
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
||
|
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
||
|
|
||
|
[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
|
||
|
|
||
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||
|
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
||
|
NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf
|
||
|
|
||
|
###################################################################################################
|
||
|
#
|
||
|
# 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.
|
||
|
#
|
||
|
###################################################################################################
|
||
|
|
||
|
[Components]
|
||
|
Clover/FatPkg/EnhancedFatDxe/Fat.inf
|
||
|
Clover/VBoxFsDxe/VBoxExt2.inf
|
||
|
Clover/VBoxFsDxe/VBoxExt4.inf
|
||
|
Clover/VBoxFsDxe/VBoxHfs.inf
|
||
|
Clover/VBoxFsDxe/VBoxReiserFS.inf
|
||
|
Clover/PartitionDxe/PartitionDxe.inf
|
||
|
|