From d95c714c8cfdc5818b0e0f0c99cf2e5be66de202 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 12 Sep 2021 21:51:10 +0300 Subject: Initial physical page manager + Will probably still need a fair bit of tweakind and documentation improvements, but seems to work outside of the kernel. Also no valgrind errors, which is quite promising I guess. --- scripts/gen-deps | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/gen-deps') diff --git a/scripts/gen-deps b/scripts/gen-deps index b764deb..6ddd289 100755 --- a/scripts/gen-deps +++ b/scripts/gen-deps @@ -18,16 +18,18 @@ genlink () { genrule () { gencommon "${1}" - echo " \$(COMPILE) -c \$< -o \$@" >> deps.mk + echo " \$(COMPILE) ${defs} -c \$< -o \$@" >> deps.mk } case "${1}" in --kern) suffix=.k.o + defs=-DKERNEL func=genrule ;; --init) suffix=.i.o + defs=-DINIT func=genrule ;; --link) -- cgit v1.3