NetBSD/sys/modules/panic/Makefile
jmcneill 6c4919473a add panic.kmod, an easy way to trigger a panic. takes a 'how' argument
to specify how to trigger the panic:
 modload -s how=panic panic.kmod   <-- just calls panic()
 modload -s how=nullptr panic.kmod <-- null ptr deref
if how isn't specified, it defaults to 'panic'. feel free to add more.
2011-02-18 01:07:20 +00:00

9 lines
143 B
Makefile

# $NetBSD: Makefile,v 1.1 2011/02/18 01:07:20 jmcneill Exp $
.include "../Makefile.inc"
KMOD= panic
SRCS= panic.c
.include <bsd.kmodule.mk>