From efa7e3e6d26b9b4b0db20be87b14e5b6e9e0c038 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Fri, 17 Jul 2015 23:30:17 +0200 Subject: [PATCH] Kernel: correctly set USE_ defines from Makefile Without defining these to 1, #if statements on them will fail. Change-Id: Ifc4824a6ffacc4bebcfd6f1110c864d7eb16401a --- minix/kernel/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/minix/kernel/Makefile b/minix/kernel/Makefile index 0f1de8d65..3cfaa1744 100644 --- a/minix/kernel/Makefile +++ b/minix/kernel/Makefile @@ -49,20 +49,20 @@ SRCS+= smp.c .if ${USE_WATCHDOG} != "no" SRCS+= watchdog.c -CPPFLAGS+= -DUSE_WATCHDOG +CPPFLAGS+= -DUSE_WATCHDOG=1 .endif # Extra debugging routines .if ${USE_SYSDEBUG} != "no" SRCS+= debug.c -CPPFLAGS+= -DUSE_SYSDEBUG +CPPFLAGS+= -DUSE_SYSDEBUG=1 .endif # These come last, so the profiling buffer is at the end of the data segment SRCS+= profile.c do_sprofile.c .if ${USE_LIVEUPDATE} != "no" -CPPFLAGS+= -DUSE_UPDATE +CPPFLAGS+= -DUSE_UPDATE=1 .endif CLEANFILES+=extracted-errno.h extracted-mfield.h extracted-mtype.h procoffsets.h -- 2.44.0