X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fipfire-netboot;h=af9ef8e926770a3a9f2d87f7d8362c85f1cc36ff;hb=820edb2374ef3af02e8fa37a4b1acebefcc6317c;hp=d94a88dc6da7b659990f322aba7e59fad0ff8c00;hpb=7ef43add025bd53142cb31c17240e1b3b031115b;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/ipfire-netboot b/lfs/ipfire-netboot index d94a88dc6d..af9ef8e926 100644 --- a/lfs/ipfire-netboot +++ b/lfs/ipfire-netboot @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2013 IPFire Team # +# Copyright (C) 2007-2018 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -29,7 +29,7 @@ PXE_VER = 1b67a05 THISAPP = ipfire-netboot-$(VER) DL_FILE = $(THISAPP).tar.gz -DL_FROM = http://source.ipfire.org/releases/ipfire-netboot/ +DL_FROM = https://source.ipfire.org/releases/ipfire-netboot/ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) SUP_ARCH = x86_64 i586 @@ -77,12 +77,22 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Extract iPXE source cd $(DIR_APP) && tar axf $(DIR_DL)/ipxe-$(PXE_VER).tar.gz + cd $(DIR_APP)/ipxe-$(PXE_VER) && patch -Np1 < $(DIR_SRC)/src/patches/ipxe-fix-stringop-truncation-warning-with-gcc-8-x.patch + 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 bin/ipxe.lkrn + cd $(DIR_APP) && make $(MAKETUNING) bin/ipxe.lkrn +ifeq "$(BUILD_ARCH)" "x86_64" + cd $(DIR_APP) && make $(MAKETUNING) bin-x86_64-efi/ipxe.efi +endif # Installation -mkdir -pv /usr/share/ipfire-netboot cd $(DIR_APP) && install -m 644 bin/ipxe.lkrn /usr/share/ipfire-netboot +ifeq "$(BUILD_ARCH)" "x86_64" + cd $(DIR_APP) && install -m 644 bin-x86_64-efi/ipxe.efi \ + /usr/share/ipfire-netboot +endif @rm -rf $(DIR_APP) @$(POSTBUILD)