Fix build without MKISCSI

This commit is contained in:
mlelstv 2023-02-05 13:39:42 +00:00
parent f85ba885c0
commit f04e506ba4
1 changed files with 9 additions and 3 deletions

View File

@ -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>