Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/crash Restrict LOCKDEBUG support to archs with REAL...
details: https://anonhg.NetBSD.org/src/rev/788743409464
branches: trunk
changeset: 1008064:788743409464
user: rin <rin%NetBSD.org@localhost>
date: Mon Mar 09 05:10:19 2020 +0000
description:
Restrict LOCKDEBUG support to archs with REALCRASH.
Fix build failure for other archs.
diffstat:
usr.sbin/crash/Makefile | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 2c9d1189cf13 -r 788743409464 usr.sbin/crash/Makefile
--- a/usr.sbin/crash/Makefile Mon Mar 09 02:22:20 2020 +0000
+++ b/usr.sbin/crash/Makefile Mon Mar 09 05:10:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2020/03/09 01:54:31 christos Exp $
+# $NetBSD: Makefile,v 1.44 2020/03/09 05:10:19 rin Exp $
PROG= crash
MAN= crash.8
@@ -30,10 +30,6 @@
REALCRASH=no
.endif
-CPPFLAGS +=-DLOCKDEBUG
-CPPFLAGS.subr_lockdebug.c += -DCRASH -DDDB
-SRCS += subr_lockdebug.c
-
.if ${REALCRASH} != "no" # {
S= ${.CURDIR}/../../sys
@@ -58,6 +54,10 @@
SRCS+= kern_timeout.c
CPPFLAGS.kern_timeout.c += -DCRASH -DDDB
+CPPFLAGS +=-DLOCKDEBUG
+SRCS += subr_lockdebug.c
+CPPFLAGS.subr_lockdebug.c += -DCRASH -DDDB
+
CPPFLAGS+= -I${S}/arch
. if ${MACHINE} == "amd64" \
Home |
Main Index |
Thread Index |
Old Index