From cf0b5a832e5c223c3dd76de2218501953867bfd8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 29 Sep 2015 00:31:02 +0100 Subject: [PATCH] Add an (U)EFI image Signed-off-by: Michael Tremer --- .gitignore | 3 ++- Makefile | 5 +++++ config/general.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.2