summaryrefslogtreecommitdiff
path: root/sys/modules/clockctl
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2015-12-07 03:25:57 +0000
committerpgoyette <pgoyette@NetBSD.org>2015-12-07 03:25:57 +0000
commitedf0b3446a599a7c13dc35601a62ee2e6de22996 (patch)
tree9b55af70cdb2215e4c18b77c41795cff585ebbfd /sys/modules/clockctl
parenta30736a20f4afa2515329a601f5bbf2924497c11 (diff)
Modularize the clockctl pseudo-device and link to the build.
Diffstat (limited to 'sys/modules/clockctl')
-rw-r--r--sys/modules/clockctl/Makefile13
-rw-r--r--sys/modules/clockctl/clockctl.ioconf7
2 files changed, 20 insertions, 0 deletions
diff --git a/sys/modules/clockctl/Makefile b/sys/modules/clockctl/Makefile
new file mode 100644
index 00000000000..1f49df65c7e
--- /dev/null
+++ b/sys/modules/clockctl/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2015/12/07 03:25:57 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev
+
+KMOD= clockctl
+IOCONF= clockctl.ioconf
+SRCS= clockctl.c
+
+CPPFLAGS+= -DNTP -DCOMPAT_50
+
+.include <bsd.kmodule.mk>
diff --git a/sys/modules/clockctl/clockctl.ioconf b/sys/modules/clockctl/clockctl.ioconf
new file mode 100644
index 00000000000..4d4e1e847d6
--- /dev/null
+++ b/sys/modules/clockctl/clockctl.ioconf
@@ -0,0 +1,7 @@
+# $NetBSD: clockctl.ioconf,v 1.1 2015/12/07 03:25:57 pgoyette Exp $
+
+ioconf clockctl
+
+include "conf/files"
+
+pseudo-device clockctl