summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/makefile b/makefile
index cf5dc6a..95236b9 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,8 @@
-floppy: kernel
- #TODO
+cd: kernel fs
+ mkdir -p out/fs/boot/grub
+ mv out/kernel.elf out/fs/boot/
+ cp src/grub.cfg out/fs/boot/grub/
+ grub2-mkrescue out/fs -o out/cd.iso --product-name=portland --product-version=0.0.9
kernel: obj out
nasm src/kernel/stub.asm -o obj/kstub.o -f elf32