From 40283724758b2658a13bc33d8dba1ba64b4008e7 Mon Sep 17 00:00:00 2001 From: Starnakin Date: Thu, 19 Dec 2024 02:18:47 +0100 Subject: [PATCH] add: Makefile create iso without compression --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7826d70..7e835d8 100644 --- a/Makefile +++ b/Makefile @@ -40,9 +40,19 @@ iso: $(NAME) grub-mkrescue -o build/$(NAME).iso --compress=xz --locales=en@quot --themes= isodir rm -rf isodir +fast-iso: $(NAME) + mkdir -p isodir/boot/grub + cp build/$(NAME).bin isodir/boot/$(NAME).bin + cp config/grub.cfg isodir/boot/grub/grub.cfg + grub-mkrescue -o build/$(NAME).iso --themes= isodir + rm -rf isodir + run-iso: iso qemu-system-i386 -cdrom build/$(NAME).iso -vga std +fast-run-iso: fast-iso + qemu-system-i386 -cdrom build/$(NAME).iso -vga std + debug: iso qemu-system-i386 -s -S build/$(NAME).iso -vga std @@ -59,5 +69,5 @@ re: $(MAKE) fclean $(MAKE) all -.PHONY: all clean fclean re run iso run-iso +.PHONY: all clean fclean re run iso run-iso fast-iso fast-run-iso -include $(DEP)