Module Name: src
Committed By: mlelstv
Date: Sun Feb 5 13:39:42 UTC 2023
Modified Files:
src/etc/iscsi: Makefile
Log Message:
Fix build without MKISCSI
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/etc/iscsi/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/iscsi/Makefile
diff -u src/etc/iscsi/Makefile:1.5 src/etc/iscsi/Makefile:1.6
--- src/etc/iscsi/Makefile:1.5 Fri Feb 3 15:59:04 2023
+++ src/etc/iscsi/Makefile Sun Feb 5 13:39:42 2023
@@ -1,15 +1,21 @@
-# $NetBSD: Makefile,v 1.5 2023/02/03 15:59:04 mlelstv Exp $
+# $NetBSD: Makefile,v 1.6 2023/02/05 13:39:42 mlelstv Exp $
.include <bsd.own.mk>
+# kernel iSCSI initiator
+CONFIGFILES= volumes
+FILESDIR= /etc/iscsi
+FILESMODE_volumes= 0644
+
+# userland iSCSI initiator and target
.if ${MKISCSI} != "no"
-CONFIGFILES= auths targets volumes
-FILESDIR= /etc/iscsi
+CONFIGFILES= auths targets
FILESMODE_auths= 0600
FILESMODE_targets= 0644
.endif
+
.include <bsd.files.mk>
.include <bsd.prog.mk>