-obj-$(CONFIG_EFI) += efi.o esrt.o vars.o reboot.o +obj-$(CONFIG_EFI) += efi.o vars.o reboot.o +ifeq ($(CONFIG_IA64),) +obj-$(CONFIG_EFI) += esrt.o +endif I doubt that ia64 systems are going to start implementing ERST - so it's fine with me to drop it from the build.
Guenter's suggestion of a new CONFIG_EFI_ESRT looks a bit prettier that that ifeq ($(CONFIG_IA64),) but either way: Acked-by: Tony Luck <tony.l...@intel.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/