Signed-off-by: Peter Jones <pjones@redhat.com>
@ -43,7 +43,7 @@ index 93b1ffd7ac6..f5023de7a9f 100644
$(CC) $(CCLDFLAGS) -o $@ $^ -lefi -lgnuefi \
$(shell $(CC) -print-libgcc-file-name) \
- -T $(GNUEFIDIR)/elf_$(ARCH)_efi.lds
+ -T $(GNUEFIDIR)/elf_$(ARCH_SUFFIX)_efi.lds
+ -T $(GNUEFIDIR)/$(ARCH_SUFFIX)/efi.lds
%.o : %.c
$(CC) $(BUILDFLAGS) -c -o $@ $^