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