mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
linux: fix iSCSI support (lost in configs)
This commit is contained in:
parent
465f1f0882
commit
7ef4ccc425
@ -134,14 +134,13 @@ pre_make_target() {
|
||||
${PKG_BUILD}/scripts/config --disable CONFIG_CIFS
|
||||
fi
|
||||
|
||||
# disable iscsi support if not enabled
|
||||
if [ ! "${ISCSI_SUPPORT}" = yes ]; then
|
||||
${PKG_BUILD}/scripts/config --disable CONFIG_SCSI_ISCSI_ATTRS
|
||||
${PKG_BUILD}/scripts/config --disable CONFIG_ISCSI_TCP
|
||||
${PKG_BUILD}/scripts/config --disable CONFIG_ISCSI_BOOT_SYSFS
|
||||
${PKG_BUILD}/scripts/config --disable CONFIG_ISCSI_IBFT_FIND
|
||||
${PKG_BUILD}/scripts/config --disable CONFIG_ISCSI_IBFT
|
||||
fi
|
||||
# enable/disable iscsi support
|
||||
[ "${ISCSI_SUPPORT}" = yes ] && OPTION="--enable" || OPTION="--disable"
|
||||
${PKG_BUILD}/scripts/config ${OPTION} CONFIG_SCSI_ISCSI_ATTRS
|
||||
${PKG_BUILD}/scripts/config ${OPTION} CONFIG_ISCSI_TCP
|
||||
${PKG_BUILD}/scripts/config ${OPTION} CONFIG_ISCSI_BOOT_SYSFS
|
||||
${PKG_BUILD}/scripts/config ${OPTION} CONFIG_ISCSI_IBFT_FIND
|
||||
${PKG_BUILD}/scripts/config ${OPTION} CONFIG_ISCSI_IBFT
|
||||
|
||||
# disable lima/panfrost if libmali is configured
|
||||
if [ "${OPENGLES}" = "libmali" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user