add kern_timeout.c for "show callout"

This commit is contained in:
christos 2015-02-08 19:42:12 +00:00
parent 1a5609a923
commit 4a931fcb8e

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.27 2014/03/30 07:29:22 skrll Exp $
# $NetBSD: Makefile,v 1.28 2015/02/08 19:42:12 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
CPPFLAGS+= -UDB_MACHINE_COMMANDS -DCRASH -DDDB
# ddb files from kernel
.PATH: $S/ddb
@ -47,6 +47,9 @@ SRCS+= db_sym.c db_variables.c db_write_cmd.c
.PATH: ${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
SRCS+= db_disasm.c
.PATH: $S/kern
SRCS+= kern_timeout.c
CPPFLAGS+= -I${S}/arch
. if ${MACHINE} == "amd64" \