From a7fe9af7339eb5dc3dabeaaf333db619619cec15 Mon Sep 17 00:00:00 2001
From: Gilles Grimaud <gilles.grimaud@univ-lille.fr>
Date: Fri, 26 Mar 2021 14:51:15 +0100
Subject: [PATCH] Remove unsupported grub-mkrescue option.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5ea7cf4..c7dfca7 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ all: $(IMAGE)
 
 $(IMAGE): $(BINFILE)
 	cp $(BINFILE) boot/mykernel.bin
-	grub-mkrescue --target=i386 -d /usr/lib/grub/i386-pc/ -o $(IMAGE) ./
+	grub-mkrescue -d /usr/lib/grub/i386-pc/ -o $(IMAGE) ./
 
 run:
 	qemu-system-x86_64 -boot d -m 2048 -cdrom mykernel.iso -curses
-- 
GitLab