Bootable multiboot2 kernel

This commit is contained in:
2022-01-02 17:25:07 +01:00
parent fdcb46d6f2
commit e0979ed357
10 changed files with 107 additions and 2 deletions

13
toolchain/setup-grub.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
mkdir -p ${BUILDROOT}/sysroot/boot/grub
cat > ${BUILDROOT}/sysroot/boot/grub/grub.cfg << EOF
set timeout=1
set default=0
menuentry "mittos64" {
multiboot2 /kernel
}
EOF