summaryrefslogtreecommitdiffstats
path: root/sys/modules/aha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/aha/Makefile')
-rw-r--r--sys/modules/aha/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/aha/Makefile b/sys/modules/aha/Makefile
index 44b4f93..36c7359 100644
--- a/sys/modules/aha/Makefile
+++ b/sys/modules/aha/Makefile
@@ -6,7 +6,9 @@ KMOD= aha
SRCS= aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h \
opt_scsi.h isa_if.h
+.if !defined(KERNBUILDDIR)
opt_scsi.h:
echo "#define SCSI_DELAY 15000" > opt_scsi.h
+.endif
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud