Skip to content

Commit

Permalink
Fix calling of gnuefi install with local lds
Browse files Browse the repository at this point in the history
* Local lds wasn't being installed on RISC-V

Signed-off-by: Callum Farmer <[email protected]>
  • Loading branch information
gmbr3 committed Sep 24, 2024
1 parent 21ea877 commit aa2ad03
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions gnuefi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,18 +112,13 @@ clean:
install:
mkdir -p $(INSTALLROOT)$(LIBDIR)
$(INSTALL) -m 644 $(TARGETS) $(INSTALLROOT)$(LIBDIR)
ifeq ($(USING_FREEBSD),1)
ifeq ($(ARCH),x86_64)
ifneq (,$(filter $(ARCH),x86_64 ia32))
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_fbsd_efi.lds $(INSTALLROOT)$(LIBDIR)
else
ifneq (,$(filter $(ARCH),aarch64 riscv64 ia32))
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi_local.lds $(INSTALLROOT)$(LIBDIR)
endif
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi.lds $(INSTALLROOT)$(LIBDIR)
endif
else
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi.lds $(INSTALLROOT)$(LIBDIR)
endif
ifneq (,$(filter $(ARCH),aarch64 riscv64 ia32))
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi_local.lds $(INSTALLROOT)$(LIBDIR)
endif
$(INSTALL) -m 644 $(SRCDIR)/elf_$(ARCH)_efi.lds $(INSTALLROOT)$(LIBDIR)
$(INSTALL) -d $(INSTALLROOT)$(PKGCONFIGDIR)
$(INSTALL) -m 644 gnu-efi.pc $(INSTALLROOT)$(PKGCONFIGDIR)

Expand Down

0 comments on commit aa2ad03

Please sign in to comment.