mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-26 16:47:40 +01:00
d17d02b1f8
Add "-flto -DUSING_LTO" when DISABLE_LTO is not defined.
94 lines
1.9 KiB
INI
94 lines
1.9 KiB
INI
##
|
|
#
|
|
# UEFI driver for enabling loading of OSX without memory relocation.
|
|
#
|
|
# by dmazar
|
|
#
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = OsxAptioFix3Drv
|
|
FILE_GUID = 43C8CFCA-03C0-4AA8-8BEB-5AF6AB3570A3
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = OsxAptioFixDrvEntrypoint
|
|
|
|
[Packages]
|
|
CloverPkg.dec
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
OpenCorePkg/OpenCorePkg.dec
|
|
|
|
[LibraryClasses]
|
|
UefiLib
|
|
UefiBootServicesTableLib
|
|
UefiRuntimeServicesTableLib
|
|
BaseMemoryLib
|
|
MemoryAllocationLib
|
|
UefiDriverEntryPoint
|
|
BaseLib
|
|
CpuLib
|
|
DevicePathLib
|
|
OcDeviceTreeLib
|
|
|
|
[Sources]
|
|
OsxAptioFix3Drv.c
|
|
AsmFuncs.h
|
|
BootFixes3.c
|
|
BootFixes3.h
|
|
DecodedKernelCheck.c
|
|
DecodedKernelCheck.h
|
|
BootArgs.c
|
|
BootArgs.h
|
|
VMem.c
|
|
VMem.h
|
|
Lib.c
|
|
Lib.h
|
|
# FlatDevTree/device_tree.h
|
|
# FlatDevTree/device_tree.c
|
|
NVRAMDebug.h
|
|
NVRAMDebug.c
|
|
# Mach-O/UefiLoader.h
|
|
# Mach-O/loader.h
|
|
Mach-O/Mach-O.h
|
|
Mach-O/Mach-O.c
|
|
Hibernate.h
|
|
RTShims.h
|
|
|
|
[Sources.X64]
|
|
X64/AsmFuncsX64.asm | INTEL
|
|
X64/AsmFuncsX64.asm | MSFT
|
|
# X64/AsmFuncsX64.S | GCC
|
|
X64/AsmFuncsX64.nasm | GCC
|
|
X64/RTShims.nasm
|
|
|
|
[Guids]
|
|
gEfiFileInfoGuid ## CONSUMES
|
|
gEfiFileSystemInfoGuid ## CONSUMES
|
|
gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES
|
|
gEfiGlobalVariableGuid
|
|
|
|
[Protocols]
|
|
gEfiLoadedImageProtocolGuid
|
|
gEfiDevicePathProtocolGuid
|
|
gEfiSimpleFileSystemProtocolGuid
|
|
gEfiBlockIoProtocolGuid
|
|
gEfiBlockIo2ProtocolGuid
|
|
gEfiDiskIoProtocolGuid
|
|
gEfiDiskIo2ProtocolGuid
|
|
gEfiGraphicsOutputProtocolGuid
|
|
|
|
|
|
# if built as runtime driver
|
|
[Depex]
|
|
TRUE
|
|
|
|
[BuildOptions]
|
|
# To generate assembled listings
|
|
# MSFT:*_*_*_ASM_FLAGS = /Fl
|
|
# GCC:*_*_*_ASM_FLAGS = -Wa,-a=AsmList.txt
|
|
# GCC:*_*_*_NASM_FLAGS = -l NasmList.txt
|
|
|