mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-08 23:51:08 -09:00
package/open-iscsi: open-isns is optional, not mandatory
open-isns is optional, not mandatory, since bump to version 2.1.9 in commit2314928cf8and713524df80Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit948b183042) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
b13a25259f
commit
793946286c
@@ -5,7 +5,6 @@ config BR2_PACKAGE_OPEN_ISCSI
|
||||
depends on !BR2_STATIC_LIBS # kmod
|
||||
select BR2_PACKAGE_KMOD
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_OPEN_ISNS
|
||||
select BR2_PACKAGE_UTIL_LINUX
|
||||
select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT
|
||||
help
|
||||
|
||||
@@ -9,10 +9,17 @@ 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 open-isns openssl util-linux
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user