From: Michael Tremer Date: Mon, 28 Sep 2015 23:31:02 +0000 (+0100) Subject: Add an (U)EFI image X-Git-Tag: v1.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf0b5a832e5c223c3dd76de2218501953867bfd8;p=oddments%2Fipfire-netboot.git Add an (U)EFI image Signed-off-by: Michael Tremer --- diff --git a/.gitignore b/.gitignore index ba077a4..04a0ff7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -bin +/bin +/bin-x86_64-efi diff --git a/Makefile b/Makefile index 3d75cdd..3533e19 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,14 @@ SCRIPTS = $(CURDIR)/ipfireboot.ipxe +MACHINE = $(shell uname -m) TARGETS = bin/ipxe.iso bin/ipxe.kpxe bin/undionly.kpxe bin/ipxe.dsk \ bin/ipxe.usb bin/ipxe.lkrn +ifeq "$(MACHINE)" "x86_64" + TARGETS += bin-x86_64-efi/ipxe.efi +endif + all: $(TARGETS) clean: diff --git a/config/general.h b/config/general.h index 2cefc0c..4a54013 100644 --- a/config/general.h +++ b/config/general.h @@ -1,6 +1,6 @@ // Enable support for syslinux's com32 images. -#define IMAGE_COMBOOT +//#define IMAGE_COMBOOT // Enable support for FTP and HTTPS downloads. #define DOWNLOAD_PROTO_FTP