Commit ca6011b5 authored by Luc Lenôtre's avatar Luc Lenôtre

Added grub.cfg

parent f1f9bb82
kernel
*.o
iso/
kernel
kernel.iso
......@@ -23,10 +23,22 @@ $(NAME): $(OBJ)
%.o: %.[cs]
$(CC) $(CFLAGS) -c $< -o $@
iso: $(NAME).iso
$(NAME).iso:
mkdir -p iso/boot/grub/
cp $(NAME) iso/boot/
cp grub.cfg iso/boot/grub/
grub-mkrescue -o $(NAME).iso iso/
clean:
rm -f $(OBJ)
rm -rf iso/boot/grub/
fclean: clean
rm -f $(NAME)
rm -f $(NAME).iso
re: fclean all
.PHONY: iso clean fclean re
menuentry "CrumbleOS" {
multiboot /boot/kernel
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment