aboutsummaryrefslogtreecommitdiff
path: root/audio/mpio-driver/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mpio-driver/files/Makefile')
-rw-r--r--audio/mpio-driver/files/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/mpio-driver/files/Makefile b/audio/mpio-driver/files/Makefile
index bcd37caacfc2..d50397bbe9b1 100644
--- a/audio/mpio-driver/files/Makefile
+++ b/audio/mpio-driver/files/Makefile
@@ -7,4 +7,8 @@ KMOD= mpio
SRCS= urio.c usb_if.h device_if.h bus_if.h opt_usb.h vnode_if.h
CFLAGS= -DUSB_VENDOR_DIGITALWAY=0x2735 -DUSB_PRODUCT_DIGITALWAY_MPIO=0x0001
+.if ${OSVERSION} >= 500000
+KMODDIR= /boot/modules
+.endif
+
.include <bsd.kmod.mk>