summaryrefslogtreecommitdiff
path: root/sys/modules/example
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2008-05-02 14:20:50 +0000
committerad <ad@NetBSD.org>2008-05-02 14:20:50 +0000
commit3ba209837accd8ed0a036cbaeef759080f559b9e (patch)
treee3ed568d32520394ab0751939cfffd8fc3110407 /sys/modules/example
parent2830fe34880d8bb734741356367be147b258ed7c (diff)
- Add a bsd.kmodule.mk to build new style modules.
- Set the file suffix to .kmod
Diffstat (limited to 'sys/modules/example')
-rw-r--r--sys/modules/example/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/modules/example/Makefile b/sys/modules/example/Makefile
index 4a1aaac3473..6335e6411e2 100644
--- a/sys/modules/example/Makefile
+++ b/sys/modules/example/Makefile
@@ -1,12 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2008/02/10 10:51:18 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2008/05/02 14:20:50 ad Exp $
KMOD= example
+SRCS= example.c
-SRCS= real-example.c
-# XXX A hack to workaround the fact that the final module is named
-# example.o. To be removed once we change the extension of modules.
-BUILDSYMLINKS= ${.CURDIR}/example.c real-example.c
-
-NOMAN= # defined
-
-.include <bsd.kmod.mk>
+.include <bsd.kmodule.mk>