]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
ipfire-netboot: Use BFD linker gold
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Apr 2021 13:47:54 +0000 (13:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 14 Apr 2021 13:47:54 +0000 (13:47 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/ipfire-netboot

index af9ef8e926770a3a9f2d87f7d8362c85f1cc36ff..42ea2c58d9c377616ab8082a3c7b611f78dc19d3 100644 (file)
@@ -81,9 +81,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP)/ipxe-$(PXE_VER) && patch -Np1 < $(DIR_SRC)/src/patches/ipxe-handle-R_X86_64_PLT32.patch
        cd $(DIR_APP)/ipxe-$(PXE_VER) && patch -Np1 < $(DIR_SRC)/src/patches/ipxe-1b67a05-be-explicit-about-fcommon-compiler-directive.patch
        cd $(DIR_APP) && rm -rfv ipxe && ln -s ipxe-$(PXE_VER) ipxe
-       cd $(DIR_APP) && make $(MAKETUNING) bin/ipxe.lkrn
+       cd $(DIR_APP) && make $(MAKETUNING) bin/ipxe.lkrn LD=ld.bfd
 ifeq "$(BUILD_ARCH)" "x86_64"
-       cd $(DIR_APP) && make $(MAKETUNING) bin-x86_64-efi/ipxe.efi
+       cd $(DIR_APP) && make $(MAKETUNING) bin-x86_64-efi/ipxe.efi LD=ld.bfd
 endif
 
        # Installation