diff options
author | Benji Dial <Benji3.141@gmail.com> | 2020-11-08 11:11:49 -0500 |
---|---|---|
committer | Benji Dial <Benji3.141@gmail.com> | 2020-11-08 11:11:49 -0500 |
commit | 21491514b3642a321ce65f2a07428f63c4d9feb5 (patch) | |
tree | cf2384926e9d8e4cb0dcf2c9babd37fc7809c5da /makefile | |
parent | 594aeeb09bc24de7064eb1bddf6e86c1a134838e (diff) | |
download | portland-os-21491514b3642a321ce65f2a07428f63c4d9feb5.tar.gz |
manual viewer, "swap colors" system call
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -8,7 +8,6 @@ out/disk.vdi: out/disk.img VBoxManage convertfromraw out/disk.img out/disk.vdi --uuid a61929ed-3bf2-45ff-b98a-44f87c616dba out/disk.img: out/kernel.bin out/boot.bin out/fs - #TODO: have this regenerate after out/fs mkdir -p obj /sbin/mkfs.fat -C -f 1 -F 16 -n "PORTLAND OS" -R 65 -s 1 -S 512 obj/shadow.img 8192 echo -n -e '\xeb\x3c' > obj/jmp.bin @@ -28,10 +27,15 @@ out/fs/bin/%: obj/%.elf mkdir -p $(shell dirname $@) objcopy -S $< $@ +out/fs/man/%.man: src/man/%.pre + mkdir -p $(shell dirname $@) + python3 tools/man-gen.py $< $@ + out/fs: out/fs/bin/init out/fs/bin/meminfo out/fs/bin/highway \ out/fs/bin/hello out/fs/bin/dumptext out/fs/bin/dumphex \ - out/fs/bin/dirinfo out/fs/bin/fileman - mkdir -p out/fs + out/fs/bin/dirinfo out/fs/bin/fileman out/fs/bin/manual \ + out/fs/man/index.man out/fs/man/dev/kmemmap.man + touch out/fs cp -r fs-skel/* out/fs/ obj/kernel/%.ko: src/kernel/%.c @@ -98,4 +102,7 @@ obj/dirinfo.elf: obj/dirinfo/dirinfo.o obj/knob.so obj/c.rto ld -T src/user/runtimes/c/elf.ld $^ -o $@ obj/fileman.elf: obj/fileman/fileman.o obj/knob.so obj/c.rto + ld -T src/user/runtimes/c/elf.ld $^ -o $@ + +obj/manual.elf: obj/manual/manual.o obj/knob.so obj/c.rto ld -T src/user/runtimes/c/elf.ld $^ -o $@
\ No newline at end of file |