aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-06-11 23:11:25 +0300
committeraqua <aqua@iserlohn-fortress.net>2023-06-11 23:11:25 +0300
commitcb6aa7dd9703eb3dba275905f98de682b57d3a78 (patch)
tree4b2b6ff65c148c5e9fe035e621496fcb2302dfb8 /src/Makefile
parentMake code ANSI C compatible (diff)
downloadkernel-cb6aa7dd9703eb3dba275905f98de682b57d3a78.tar.xz
Rework leaf makefiles to be included from top-level
- remove Makefile.all
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644
index 0d02c5d..0000000
--- a/src/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-include ../Makefile.config
-
-INCLUDES := -isystem../grub -I../${ARCH} -I../devices
-${ARCH}_CFLAGS += ${INCLUDES}
-${ARCH}_CXXFLAGS += ${INCLUDES}
-
-TARGETLIB += kernel
-kernel.SRCS := multiboot2.c mmap.c kernel.cpp mem/vmm.c
-
-HOSTTARGETBIN += sched/test_taskqueue
-sched/test_taskqueue.SRCS = sched/test_taskqueue.cc
-
-HOSTTARGETBIN += sched/test_roundrobin
-sched/test_roundrobin.SRCS = sched/test_roundrobin.cc
-
-TESTS += \
- sched/test_taskqueue sched/test_roundrobin
-
-include ../rules.mk
-
-kernel.c: conf.h
-conf.h: conf.h.in
- @echo ' GEN $@'
- @cp conf.h.in conf.h
- @sed -i 's/@VERSION@/$(shell git describe)/' conf.h
- @sed -i 's/@CC@/${${ARCH}_CCID}/' conf.h
-