add: Makefile create iso without compression
This commit is contained in:
parent
6bdba0cb4f
commit
4028372475
12
Makefile
12
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)
|
||||
|
Loading…
Reference in New Issue
Block a user