From ba65a2ff688f1eb390b3f91fdfd09d799925f460 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 9 Sep 2020 17:56:49 +0200 Subject: [PATCH] x86: drop use of prelink-efi_lto.o As of de94e8b4f996 ("x86/EFI: sanitize build logic") it is identical to prelink_lto.o. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- xen/arch/x86/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile index 1f279b6b2e..74152f2a0d 100644 --- a/xen/arch/x86/Makefile +++ b/xen/arch/x86/Makefile @@ -135,14 +135,11 @@ ifeq ($(CONFIG_LTO),y) prelink_lto.o: $(ALL_OBJS) $(LD_LTO) -r -o $@ $^ -prelink-efi_lto.o: $(ALL_OBJS) - $(LD_LTO) -r -o $@ $^ - # Link it with all the binary objects prelink.o: $(patsubst %/built_in.o,%/built_in_bin.o,$(ALL_OBJS)) prelink_lto.o $(EFI_OBJS-y) $(LD) $(XEN_LDFLAGS) -r -o $@ $^ -prelink-efi.o: $(patsubst %/built_in.o,%/built_in_bin.o,$(ALL_OBJS)) prelink-efi_lto.o +prelink-efi.o: $(patsubst %/built_in.o,%/built_in_bin.o,$(ALL_OBJS)) prelink_lto.o $(LD) $(XEN_LDFLAGS) -r -o $@ $^ else prelink.o: $(ALL_OBJS) $(EFI_OBJS-y) -- 2.30.2