summaryrefslogtreecommitdiffstats
path: root/bootloader/Makefile
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-03-02 17:55:03 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-03-02 23:15:23 +0000
commit931b82be93b6c068a91a59f4c6b7ebb9bdfa158a (patch)
treedefeab6464750635d2204796ff4060fbe949ec83 /bootloader/Makefile
parent112b0f37aa475e2c1a4f4bdaca9a4d5e333e9c40 (diff)
downloaddrakiso-931b82be93b6c068a91a59f4c6b7ebb9bdfa158a.tar
drakiso-931b82be93b6c068a91a59f4c6b7ebb9bdfa158a.tar.gz
drakiso-931b82be93b6c068a91a59f4c6b7ebb9bdfa158a.tar.bz2
drakiso-931b82be93b6c068a91a59f4c6b7ebb9bdfa158a.tar.xz
drakiso-931b82be93b6c068a91a59f4c6b7ebb9bdfa158a.zip
Add support for 32-bit EFI.
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)