]> git.ipfire.org Git - oddments/ipfire-netboot.git/commitdiff
Add an (U)EFI image
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Sep 2015 23:31:02 +0000 (00:31 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Sep 2015 23:31:02 +0000 (00:31 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
.gitignore
Makefile
config/general.h

index ba077a4031add5b3a04384f8b9cfc414efbf47dd..04a0ff7339a1558f1efa8b5df173a35c42143115 100644 (file)
@@ -1 +1,2 @@
-bin
+/bin
+/bin-x86_64-efi
index 3d75cdd6498edbc153cf1a149aae9000363a5c49..3533e1971196a3fc9d59a496217db697acc8978b 100644 (file)
--- 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:
index 2cefc0cf8dcdac3151c825241f6a359af0d1636d..4a540138906609b5ea57c5c4cfb498a7935db6e9 100644 (file)
@@ -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