summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2020-08-13 23:59:14 -0400
committerBenji Dial <Benji3.141@gmail.com>2020-08-13 23:59:14 -0400
commit7ff724fe8f709440da9c730fdb8dcbaa4f989ed5 (patch)
treee7f768ff56798bef3edc166a30e9cb8d7f25bd1e /makefile
parent2ddbeb9f7214f6d3feef651eba83e6a9d120a743 (diff)
downloadportland-os-7ff724fe8f709440da9c730fdb8dcbaa4f989ed5.tar.gz
FAT16 directory enumeration, making many functions static, new 'log' functions to wrap vga and serial
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index 2152dde..502a3cc 100644
--- a/makefile
+++ b/makefile
@@ -39,7 +39,9 @@ kernel:
gcc ${kgccargs} -c src/kernel/drive.c -o obj/kernel/drive.o
gcc ${kgccargs} -c src/kernel/fat.c -o obj/kernel/fat.o
gcc ${kgccargs} -c src/kernel/ide.c -o obj/kernel/ide.o
+ gcc ${kgccargs} -c src/kernel/log.c -o obj/kernel/log.o
gcc ${kgccargs} -c src/kernel/main.c -o obj/kernel/main.o
+ gcc ${kgccargs} -c src/kernel/main2.c -o obj/kernel/main2.o
gcc ${kgccargs} -c src/kernel/mem.c -o obj/kernel/mem.o
gcc ${kgccargs} -c src/kernel/panic.c -o obj/kernel/panic.o
gcc ${kgccargs} -c src/kernel/pci.c -o obj/kernel/pci.o
@@ -47,7 +49,6 @@ kernel:
gcc ${kgccargs} -c src/kernel/serial.c -o obj/kernel/serial.o
gcc ${kgccargs} -c src/kernel/task.c -o obj/kernel/task.o
gcc ${kgccargs} -c src/kernel/util.c -o obj/kernel/util.o
- gcc ${kgccargs} -c src/kernel/vesa.c -o obj/kernel/vesa.o
gcc ${kgccargs} -c src/kernel/vga.c -o obj/kernel/vga.o
ld -T src/kernel/elf-link.ld obj/kernel/*.o -o obj/kernel.elf
objcopy -O binary obj/kernel.elf out/kernel.bin