summaryrefslogtreecommitdiffstats
path: root/bootloader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/Makefile')
-rw-r--r--bootloader/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootloader/Makefile b/bootloader/Makefile
index 5e7feba..112bf14 100644
--- a/bootloader/Makefile
+++ b/bootloader/Makefile
@@ -13,6 +13,8 @@ GRUB_IMAGES = images/boot_hybrid.img images/eltorito.img
ifeq ($(ARCH),x86_64)
GRUB_IMAGES += images/bootx64.efi
+else
+ GRUB_IMAGES += images/bootia32.efi
endif
INSTALL_DIR = $(PREFIX)/usr/share/drakiso-bootloader
@@ -29,6 +31,10 @@ images/eltorito.img:
@mkdir -p images
grub2-mkimage --output $@ --prefix /boot/grub2 --format i386-pc-eltorito biosdisk $(GRUB2_MODULES)
+images/bootia32.efi:
+ @mkdir -p images
+ grub2-mkimage --output $@ --prefix /EFI/BOOT --format i386-efi $(GRUB2_MODULES)
+
images/bootx64.efi:
@mkdir -p images
grub2-mkimage --output $@ --prefix /EFI/BOOT --format x86_64-efi $(GRUB2_MODULES)