Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
-bin
+/bin
+/bin-x86_64-efi
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:
// Enable support for syslinux's com32 images.
-#define IMAGE_COMBOOT
+//#define IMAGE_COMBOOT
// Enable support for FTP and HTTPS downloads.
#define DOWNLOAD_PROTO_FTP