summaryrefslogtreecommitdiffstats
path: root/sys/modules/sio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/sio/Makefile')
-rw-r--r--sys/modules/sio/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/sio/Makefile b/sys/modules/sio/Makefile
index 8ec6b4e..59386e6 100644
--- a/sys/modules/sio/Makefile
+++ b/sys/modules/sio/Makefile
@@ -15,6 +15,7 @@ SRCS+= sio_cbus.c
SRCS+= sio_isa.c
.endif
+.if !defined(KERNBUILDDIR)
opt_compat.h:
echo "#define COMPAT_43 1" > ${.TARGET}
@@ -23,5 +24,6 @@ opt_sio.h:
echo "#define COM_MULTIPORT 1" > ${.TARGET}
echo "#define COM_ESP 1" >> ${.TARGET}
.endif
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud