aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-13 22:31:46 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-13 22:31:46 +0200
commit360da84db0d7165c84d160b518f39cd16006c758 (patch)
treea6fea5da753ec4ac5a37237cefda52801f9647ac /src/kernel/Makefile
parent27a6934ea3073c3eaf782cc7615ce4ed0dbf4a18 (diff)
downloadkogata-360da84db0d7165c84d160b518f39cd16006c758.tar.gz
kogata-360da84db0d7165c84d160b518f39cd16006c758.zip
Migrate to BAM build tool
Diffstat (limited to 'src/kernel/Makefile')
-rw-r--r--src/kernel/Makefile23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/kernel/Makefile b/src/kernel/Makefile
deleted file mode 100644
index 1082b29..0000000
--- a/src/kernel/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-
-OBJ = core/loader.o core/dbglog.o \
- core/gdt.o core/idt.o core/interrupt.o core/context_switch.o core/thread.o \
- core/frame.o core/paging.o core/freemem.o core/region.o core/kmalloc.o \
- core/worker.o core/prng.o \
- user/vfs.o user/nullfs.o user/process.o user/elf.o user/syscall.o user/ipc.o user/pager.o \
- dev/pci.o dev/pciide.o dev/v86.o dev/v86asm.o dev/vesa.o dev/pckbd.o \
- fs/iso9660.o
-
-LIB = ../common/libc/libc.lib ../common/libkogata/libkogata.lib ../common/libalgo/libalgo.lib
-
-CFLAGS = -I ./include -I ../common/include -DPRNG_INIT_ENTROPY=1$(shell date +%N)
-
-LDFLAGS = -T linker.ld -Xlinker -Map=kernel.map
-
-OUT = kernel.lib
-
-include ../rules.make
-
-kernel.bin: kernel.lib core/kmain.o core/sys.o
- $(LD) $(LDFLAGS) -o $@ $^
-
-all: $(OUT) kernel.bin