summaryrefslogtreecommitdiff
path: root/debug/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debug/Makefile')
-rw-r--r--debug/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/debug/Makefile b/debug/Makefile
new file mode 100644
index 0000000..80c1b63
--- /dev/null
+++ b/debug/Makefile
@@ -0,0 +1,10 @@
+LKM= debug
+MAN=
+
+CFLAGS+=-Wall -Werror -Winline -Wpointer-arith -Wmissing-declarations
+CFLAGS+=-Wmissing-prototypes -Wstrict-prototypes
+
+load: ${COMBINED}
+ modload -o ${LKM} -e ${LKM}_lkmentry ${COMBINED}
+
+.include <bsd.lkm.mk>