diff options
| author | pgoyette <pgoyette@NetBSD.org> | 2015-12-07 03:25:57 +0000 |
|---|---|---|
| committer | pgoyette <pgoyette@NetBSD.org> | 2015-12-07 03:25:57 +0000 |
| commit | edf0b3446a599a7c13dc35601a62ee2e6de22996 (patch) | |
| tree | 9b55af70cdb2215e4c18b77c41795cff585ebbfd /sys/modules/clockctl | |
| parent | a30736a20f4afa2515329a601f5bbf2924497c11 (diff) | |
Modularize the clockctl pseudo-device and link to the build.
Diffstat (limited to 'sys/modules/clockctl')
| -rw-r--r-- | sys/modules/clockctl/Makefile | 13 | ||||
| -rw-r--r-- | sys/modules/clockctl/clockctl.ioconf | 7 |
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 |
