diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-03 22:43:17 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-03 22:43:17 -0500 |
commit | 81df4702c424f91cca5570ab2554d1d4cbae534d (patch) | |
tree | aa8704b2fdf7a4bd79d85f480dc9fd8f8db02547 /makefile | |
parent | 43693f88c79467b741b3f899799082e791656d1b (diff) | |
download | portland-os-81df4702c424f91cca5570ab2554d1d4cbae534d.tar.gz |
64kiB kernel area, ps/2 mouse support, signed decimals in knob format
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -10,7 +10,7 @@ out/disk.vdi: out/disk.img out/disk.img: out/kernel.bin out/boot.bin out/fs mkdir -p obj - mkfs.fat -C -f 1 -F 16 -n "PORTLAND OS" -R 65 -s 1 -S 512 obj/shadow.img 8192 + mkfs.fat -C -f 1 -F 16 -n "PORTLAND OS" -R 129 -s 1 -S 512 obj/shadow.img 8192 echo -n -e '\xeb\x3c' > obj/jmp.bin dd if=obj/jmp.bin of=obj/shadow.img obs=2 conv=notrunc dd if=out/boot.bin of=obj/shadow.img obs=1 seek=62 conv=notrunc @@ -38,7 +38,7 @@ out/fs/bin/%: obj/%.elf out/fs: out/fs/bin/init out/fs/bin/highway out/fs/bin/meminfo \ out/fs/bin/terminal out/fs/bin/hello out/fs/bin/mkpopup \ out/fs/bin/dirlist out/fs/bin/ttt out/fs/bin/time \ - out/fs/bin/filetest + out/fs/bin/filetest out/fs/bin/mdemo touch out/fs cp -r fs-skel/* out/fs/ @@ -136,4 +136,8 @@ obj/time.elf: obj/time/time.o obj/libterm.so obj/knob.so \ obj/filetest.elf: obj/filetest/filetest.o obj/libterm.so obj/knob.so \ obj/c.rto + ld -T src/user/runtimes/c/elf.ld $^ -o $@ + +obj/mdemo.elf: obj/mdemo/main.o obj/popups.so obj/libfont.so \ + obj/knob.so obj/c.rto ld -T src/user/runtimes/c/elf.ld $^ -o $@
\ No newline at end of file |