--- /dev/null
+## @file\r
+#\r
+# refind.inf file to build rEFInd using the EDK2/UDK2010 development\r
+# kit.\r
+#\r
+# Copyright (c) 2012 by Roderick W. Smith\r
+# Released under the terms of the GPLv3, a copy of which should come\r
+# with this file.\r
+#\r
+##\r
+\r
+[Defines]\r
+ INF_VERSION = 0x00010005\r
+ BASE_NAME = REFIND\r
+ FILE_GUID = B8448DD1-B146-41B7-9D66-98B3A0A404D3\r
+ MODULE_TYPE = UEFI_APPLICATION\r
+ EDK_RELEASE_VERSION = 0x00020000\r
+ EFI_SPECIFICATION_VERSION = 0x00010000\r
+ VERSION_STRING = 1.0\r
+ ENTRY_POINT = efi_main\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+#\r
+\r
+[Sources]\r
+ EfiLib/GenericBdsLib.h\r
+ EfiLib/BmLib.c\r
+ EfiLib/DevicePath.c #included into GenericBdsLib\r
+ EfiLib/BdsConnect.c #included into GenericBdsLib\r
+ EfiLib/Console.c\r
+ refind/main.c\r
+ refind/config.c\r
+ refind/icns.c\r
+ refind/lib.c\r
+ refind/menu.c\r
+ refind/screen.c\r
+ refind/driver_support.c\r
+ libeg/image.c\r
+ libeg/load_bmp.c\r
+ libeg/load_icns.c\r
+ libeg/screen.c\r
+ libeg/text.c\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
+ IntelFrameworkPkg/IntelFrameworkPkg.dec\r
+ IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r
+\r
+[LibraryClasses]\r
+ UefiApplicationEntryPoint\r
+ UefiBootServicesTableLib\r
+ UefiLib\r
+ MemoryAllocationLib\r
+ BaseMemoryLib\r
+ BaseLib\r
+ DevicePathLib\r
+ DebugLib\r
+ DxeServicesLib\r
+ DxeServicesTableLib\r
+ HobLib\r
+ MemoryAllocationLib\r
+ IoLib\r
+\r
+[Guids]\r
+ gEfiAcpiTableGuid\r
+ gEfiAcpi10TableGuid\r
+ gEfiAcpi20TableGuid\r
+ gEfiDxeServicesTableGuid\r
+ gEfiEventReadyToBootGuid\r
+ gEfiEventVirtualAddressChangeGuid\r
+ gEfiEventExitBootServicesGuid\r
+ gEfiFileInfoGuid ## CONSUMES ## GUID\r
+ gEfiFileSystemInfoGuid ## CONSUMES ## GUID\r
+ gEfiFileSystemVolumeLabelInfoIdGuid\r
+ gEfiGlobalVariableGuid\r
+ gEfiPartTypeLegacyMbrGuid\r
+ gEfiPartTypeSystemPartGuid\r
+ gEfiSmbiosTableGuid\r
+ gEfiSasDevicePathGuid\r
+ \r
+ \r
+\r
+[Ppis]\r
+\r
+[Protocols]\r
+ gEfiComponentName2ProtocolGuid # ALWAYS_CONSUMED\r
+ gEfiDevicePathToTextProtocolGuid # ALWAYS_CONSUMED\r
+ gEfiSimpleFileSystemProtocolGuid # ALWAYS_CONSUMED\r
+ gEfiSimpleTextInProtocolGuid # ALWAYS_CONSUMED\r
+ gEfiSimpleTextInputExProtocolGuid # ALWAYS_CONSUMED\r
+ gEfiSimpleTextOutProtocolGuid # ALWAYS_CONSUMED\r
+ gEfiUnicodeCollationProtocolGuid # ALWAYS_CONSUMED \r
+ gEfiUnicodeCollation2ProtocolGuid # ALWAYS_CONSUMED \r
+ \r
+ gEfiAcpiS3SaveProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiBlockIoProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiCpuArchProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiDebugPortProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiDevicePathProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiDiskIoProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiExtScsiPassThruProtocolGuid ## PROTOCOL SOMETIMES_CONSUMES\r
+ gEfiFirmwareVolume2ProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiGraphicsOutputProtocolGuid # PROTOCOL SOMETIMES_CONSUMES\r
+ gEfiHiiFontProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiLegacy8259ProtocolGuid ## PROTOCOL SOMETIMES_CONSUMES\r
+ gEfiLoadedImageProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiOEMBadgingProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiPciIoProtocolGuid # PROTOCOL CONSUMES \r
+ gEfiScsiIoProtocolGuid ## PROTOCOL SOMETIMES_CONSUMES\r
+ gEfiScsiPassThruProtocolGuid ## PROTOCOL SOMETIMES_CONSUMES\r
+ gEfiSimpleNetworkProtocolGuid # PROTOCOL CONSUMES\r
+ gEfiUgaDrawProtocolGuid |PcdUgaConsumeSupport # PROTOCOL SOMETIMES_CONSUMES\r
+ \r
+ gEfiAbsolutePointerProtocolGuid\r
+ gEfiAcpiTableProtocolGuid\r
+ gEfiEdidActiveProtocolGuid\r
+ gEfiEdidDiscoveredProtocolGuid\r
+ gEfiHiiDatabaseProtocolGuid\r
+ gEfiHiiImageProtocolGuid\r
+ gEfiHiiProtocolGuid\r
+ gEfiSimplePointerProtocolGuid\r
+ gEfiSmbiosProtocolGuid\r
+ gEfiSecurityArchProtocolGuid \r
+ gEfiScsiIoProtocolGuid ## PROTOCOL SOMETIMES_CONSUMES\r
+ gEfiScsiPassThruProtocolGuid ## PROTOCOL SOMETIMES_CONSUMES\r
+ gEfiExtScsiPassThruProtocolGuid ## PROTOCOL SOMETIMES_CONSUMES\r
+\r
+[FeaturePcd]\r
+ gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport\r
+\r
+[Pcd]\r
+\r
+[BuildOptions]\r
+ XCODE:*_*_*_CC_FLAGS = -Os \r
+ GCC:*_*_*_CC_FLAGS = -Os\r