summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2019-12-25 11:49:06 -0500
committerBenji Dial <Benji3.141@gmail.com>2019-12-25 11:49:06 -0500
commit2b7b69e1ffd00aefa60d73a5af3bacc1c803a930 (patch)
tree3773bc2c0dddf2e559a5008409e0ea87c3a7ca98 /makefile
parent75207f727582b8c2350f0e9cd539e119586fe19a (diff)
downloadportland-os-2b7b69e1ffd00aefa60d73a5af3bacc1c803a930.tar.gz
more progress
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