Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/crash Only define the extra flags for kern_timeout.c



details:   https://anonhg.NetBSD.org/src/rev/f43228261f71
branches:  trunk
changeset: 336065:f43228261f71
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 09 17:48:07 2015 +0000

description:
Only define the extra flags for kern_timeout.c

diffstat:

 usr.sbin/crash/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r bb2704ce1954 -r f43228261f71 usr.sbin/crash/Makefile
--- a/usr.sbin/crash/Makefile   Mon Feb 09 16:47:17 2015 +0000
+++ b/usr.sbin/crash/Makefile   Mon Feb 09 17:48:07 2015 +0000
@@ -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 @@
 
 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 @@
 
 .PATH:  $S/kern
 SRCS+= kern_timeout.c
+CPPFLAGS.kern_timeout.c += -DCRASH -DDDB
 
 CPPFLAGS+=     -I${S}/arch
 



Home | Main Index | Thread Index | Old Index