Fix calling of gnuefi install with local lds
* Local lds wasn't being installed on RISC-V Signed-off-by: Callum Farmer <gmbr3@opensuse.org>
This commit is contained in:
parent
21ea877a01
commit
aa2ad0329b
@ -112,18 +112,13 @@ clean:
|
|||||||
install:
|
install:
|
||||||
mkdir -p $(INSTALLROOT)$(LIBDIR)
|
mkdir -p $(INSTALLROOT)$(LIBDIR)
|
||||||
$(INSTALL) -m 644 $(TARGETS) $(INSTALLROOT)$(LIBDIR)
|
$(INSTALL) -m 644 $(TARGETS) $(INSTALLROOT)$(LIBDIR)
|
||||||
ifeq ($(USING_FREEBSD),1)
|
ifneq (,$(filter $(ARCH),x86_64 ia32))
|
||||||
ifeq ($(ARCH),x86_64)
|
|
||||||
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_fbsd_efi.lds $(INSTALLROOT)$(LIBDIR)
|
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_fbsd_efi.lds $(INSTALLROOT)$(LIBDIR)
|
||||||
else
|
endif
|
||||||
ifneq (,$(filter $(ARCH),aarch64 riscv64 ia32))
|
ifneq (,$(filter $(ARCH),aarch64 riscv64 ia32))
|
||||||
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi_local.lds $(INSTALLROOT)$(LIBDIR)
|
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi_local.lds $(INSTALLROOT)$(LIBDIR)
|
||||||
endif
|
endif
|
||||||
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi.lds $(INSTALLROOT)$(LIBDIR)
|
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi.lds $(INSTALLROOT)$(LIBDIR)
|
||||||
endif
|
|
||||||
else
|
|
||||||
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi.lds $(INSTALLROOT)$(LIBDIR)
|
|
||||||
endif
|
|
||||||
$(INSTALL) -d $(INSTALLROOT)$(PKGCONFIGDIR)
|
$(INSTALL) -d $(INSTALLROOT)$(PKGCONFIGDIR)
|
||||||
$(INSTALL) -m 644 gnu-efi.pc $(INSTALLROOT)$(PKGCONFIGDIR)
|
$(INSTALL) -m 644 gnu-efi.pc $(INSTALLROOT)$(PKGCONFIGDIR)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user