2019-09-03 11:58:42 +02:00
|
|
|
# $Id: NEWC.inf 29125 2010-05-06 09:43:05Z efifs $
|
|
|
|
## @file
|
|
|
|
# NEWC - efifs NEWC driver.
|
|
|
|
#
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = GrubNEWC
|
|
|
|
FILE_GUID = 5C0F70A7-DC33-4A82-9056-924E83E33F01
|
|
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
EDK_RELEASE_VERSION = 0x00020000
|
|
|
|
EFI_SPECIFICATION_VERSION = 0x00020000
|
|
|
|
|
|
|
|
ENTRY_POINT = FSDriverInstall
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
driver.c
|
|
|
|
file.c
|
|
|
|
grub_driver.c
|
|
|
|
grub_file.c
|
|
|
|
grub.c
|
|
|
|
logging.c
|
|
|
|
missing.c
|
|
|
|
path.c
|
|
|
|
utf8.c
|
|
|
|
../grub/grub-core/kern/device.c
|
|
|
|
../grub/grub-core/kern/err.c
|
|
|
|
../grub/grub-core/kern/misc.c
|
|
|
|
../grub/grub-core/kern/list.c
|
|
|
|
../grub/grub-core/fs/fshelp.c
|
|
|
|
../grub/grub-core/fs/archelp.c
|
|
|
|
../grub/grub-core/fs/newc.c
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2019-09-03 14:19:03 +02:00
|
|
|
ShellPkg/ShellPkg.dec
|
2019-09-03 11:58:42 +02:00
|
|
|
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
|
2019-09-03 14:19:03 +02:00
|
|
|
CloverPkg.dec
|
2019-09-04 22:02:41 +02:00
|
|
|
FileSystems/GrubFS/efifs.dec
|
2019-09-03 11:58:42 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
MemoryAllocationLib
|
|
|
|
BaseMemoryLib
|
|
|
|
BaseLib
|
|
|
|
UefiLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
DebugLib
|
|
|
|
PcdLib
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiFileInfoGuid
|
|
|
|
gEfiFileSystemInfoGuid
|
|
|
|
gEfiFileSystemVolumeLabelInfoIdGuid
|
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiDiskIoProtocolGuid
|
|
|
|
gEfiDiskIo2ProtocolGuid
|
|
|
|
gEfiBlockIoProtocolGuid
|
|
|
|
gEfiBlockIo2ProtocolGuid
|
|
|
|
gEfiSimpleFileSystemProtocolGuid
|
|
|
|
gEfiUnicodeCollationProtocolGuid
|
|
|
|
gEfiUnicodeCollation2ProtocolGuid
|
|
|
|
gMsgLogProtocolGuid
|
|
|
|
|
|
|
|
[Pcd]
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLang
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang
|
|
|
|
|
|
|
|
[BuildOptions.common]
|
|
|
|
*_*_IA32_CC_FLAGS = -DFORMAT=efi-app-ia32
|
|
|
|
*_*_X64_CC_FLAGS = -DFORMAT=efi-app-x64
|
|
|
|
GCC:*_*_*_CC_FLAGS = -DCPU_$(ARCH) -DMDEPKG_NDEBUG -DGRUB_MACHINE_EFI -DGRUB_KERNEL -DGRUB_UTIL -DGRUB_FILE=\"NEWC.efi\" -DDRIVERNAME=newc -Os
|
|
|
|
XCODE:*_*_*_CC_FLAGS = -DCPU_$(ARCH) -DMDEPKG_NDEBUG -DGRUB_MACHINE_EFI -DGRUB_KERNEL -DGRUB_UTIL -DGRUB_FILE=\"NEWC.efi\" -DDRIVERNAME=newc -Os
|
|
|
|
IBTEL:*_*_*_CC_FLAGS = -DCPU_$(ARCH) -DMDEPKG_NDEBUG -DGRUB_MACHINE_EFI -DGRUB_KERNEL -DGRUB_UTIL -DGRUB_FILE=\"NEWC.efi\" -DDRIVERNAME=newc -Os
|
|
|
|
MSFT:*_*_*_CC_FLAGS = -DCPU_$(ARCH) -DMDEPKG_NDEBUG -DGRUB_MACHINE_EFI -DGRUB_KERNEL -DGRUB_UTIL -DGRUB_FILE=\"NEWC.efi\" -DDRIVERNAME=newc -Os
|