Module Name:    src
Committed By:   christos
Date:           Mon Feb  9 17:48:07 UTC 2015

Modified Files:
        src/usr.sbin/crash: Makefile

Log Message:
Only define the extra flags for kern_timeout.c


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/crash/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/crash/Makefile
diff -u src/usr.sbin/crash/Makefile:1.28 src/usr.sbin/crash/Makefile:1.29
--- src/usr.sbin/crash/Makefile:1.28	Sun Feb  8 14:42:12 2015
+++ src/usr.sbin/crash/Makefile	Mon Feb  9 12:48:07 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.28 2015/02/08 19:42:12 christos Exp $
+#	$NetBSD: Makefile,v 1.29 2015/02/09 17:48:07 christos Exp $
 
 PROG=		crash
 MAN=		crash.8
@@ -34,7 +34,7 @@ S=		${.CURDIR}/../../sys
 
 CPPFLAGS+=	-I${.CURDIR} -I${.OBJDIR} -I${S} -fno-strict-aliasing
 CPPFLAGS+=	-DDDB_VERBOSE_HELP -DDB_MAX_LINE=10000000 -D_KMEMUSER
-CPPFLAGS+=	-UDB_MACHINE_COMMANDS -DCRASH -DDDB
+CPPFLAGS+=	-UDB_MACHINE_COMMANDS
 
 # ddb files from kernel
 .PATH:	$S/ddb
@@ -49,6 +49,7 @@ SRCS+=	db_disasm.c
 
 .PATH:  $S/kern
 SRCS+=	kern_timeout.c
+CPPFLAGS.kern_timeout.c += -DCRASH -DDDB
 
 CPPFLAGS+=	-I${S}/arch
 

Reply via email to