kumquat-buildroot/package/open-iscsi/open-iscsi.mk
Fabrice Fontaine 793946286c package/open-iscsi: open-isns is optional, not mandatory
open-isns is optional, not mandatory, since bump to version 2.1.9 in
commit 2314928cf8 and
713524df80

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 948b1830423421e087f6aa4923a37ce077ed5904)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-09-01 16:52:42 +02:00

36 lines
1020 B
Makefile

################################################################################
#
# open-iscsi
#
################################################################################
OPEN_ISCSI_VERSION = 2.1.9
OPEN_ISCSI_SITE = $(call github,open-iscsi,open-iscsi,$(OPEN_ISCSI_VERSION))
OPEN_ISCSI_LICENSE = GPL-2.0+, GPL-3.0+, LGPL-3.0+
OPEN_ISCSI_LICENSE_FILES = COPYING README libopeniscsiusr/COPYING
OPEN_ISCSI_CPE_ID_VALID = YES
OPEN_ISCSI_DEPENDENCIES = kmod openssl util-linux
OPEN_ISCSI_CONF_OPTS = -Ddbroot=/var/lib/iscsi
ifeq ($(BR2_PACKAGE_OPEN_ISNS),y)
OPEN_ISCSI_DEPENDENCIES += open-isns
OPEN_ISCSI_CONF_OPTS += -Disns=enabled
else
OPEN_ISCSI_CONF_OPTS += -Disns=disabled
endif
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
OPEN_ISCSI_DEPENDENCIES += systemd
OPEN_ISCSI_CONF_OPTS += -Dno_systemd=false
else
OPEN_ISCSI_CONF_OPTS += -Dno_systemd=true
endif
define OPEN_ISCSI_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_SCSI_LOWLEVEL)
$(call KCONFIG_ENABLE_OPT,CONFIG_ISCSI_TCP)
endef
$(eval $(meson-package))