aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/kbdmux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/kbdmux/Makefile')
-rw-r--r--sys/modules/kbdmux/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/kbdmux/Makefile b/sys/modules/kbdmux/Makefile
index 2d64ddf7f5fb..70b39a05a9cf 100644
--- a/sys/modules/kbdmux/Makefile
+++ b/sys/modules/kbdmux/Makefile
@@ -4,9 +4,12 @@
.PATH: ${.CURDIR}/../../dev/kbdmux
KMOD= kbdmux
-SRCS= kbdmux.c opt_kbd.h bus_if.h device_if.h
+SRCS= kbdmux.c opt_compat.h opt_kbd.h bus_if.h device_if.h
.if !defined(KERNBUILDDIR)
+opt_compat.h:
+ echo "#define COMPAT_FREEBSD6 1" > ${.TARGET}
+
opt_kbd.h:
echo "#define KBD_INSTALL_CDEV 1" > ${.TARGET}
.endif