Module Name: src Committed By: martin Date: Fri Feb 17 12:24:14 UTC 2012
Modified Files: src/usr.sbin/crash: Makefile Log Message: Fix build for sparc64 To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 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.18 src/usr.sbin/crash/Makefile:1.19 --- src/usr.sbin/crash/Makefile:1.18 Thu Feb 16 20:36:13 2012 +++ src/usr.sbin/crash/Makefile Fri Feb 17 12:24:13 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2012/02/16 20:36:13 christos Exp $ +# $NetBSD: Makefile,v 1.19 2012/02/17 12:24:13 martin Exp $ PROG= crash MAN= crash.8 @@ -18,7 +18,11 @@ DPADD+= ${LIBUTIL} ${LIBKVM} ${LIBEDIT} || (${MACHINE_ARCH} == "arm" && ${MACHINE} != "acorn26") \ || ${MACHINE_ARCH} == "m68k" SRCS+= db_trace.c +.if ${MACHINE} == "sparc64" +SRCS+= db_interface.c +.else SRCS+= db_machdep.c +.endif REALCRASH=yes .else REALCRASH=no