summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authordyoung <dyoung@NetBSD.org>2008-05-31 19:58:35 +0000
committerdyoung <dyoung@NetBSD.org>2008-05-31 19:58:35 +0000
commiteeabda7de2cf74f8571d084c420e81e8a2781d72 (patch)
tree085fe3ed2b9f408e22e20ecc97c3438281ad2af9 /tests/modules
parenta025b123c27f38ae9a3588e68da4c24e43b38b00 (diff)
Fix two bugs to make MKMODULAR=yes builds will work again, for the
first time. share/mk/bsd.kmodule.mk: only set _INST_DIRS if KMODULEDIR is not set. That we we avoid installing some bogus directories in the DESTDIR and in $DESTDIR/METALOG. tests/modules/k_helper/Makefile: add missing .include <bsd.own.mk>, and set the KMODULEDIR that the author seems to have intended.
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/k_helper/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/modules/k_helper/Makefile b/tests/modules/k_helper/Makefile
index f25dce622c5..deb0afa389a 100644
--- a/tests/modules/k_helper/Makefile
+++ b/tests/modules/k_helper/Makefile
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2008/05/05 19:33:09 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2008/05/31 19:58:35 dyoung Exp $
+
+.include <bsd.own.mk>
KMOD= k_helper
-KMODULEDIR= ${TESTSBASE}/modules
+KMODULEDIR= ${DESTDIR}/${TESTSBASE}/modules/${KMOD}
SRCS= k_helper.c