From: Lucian Cristian Date: Wed, 8 Jul 2020 19:49:57 +0000 (+0300) Subject: kernel: iscsi-initator: fix kernel config symbols X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1337093e87b42c06cd524a253d4081f186508e1d;p=openwrt%2Fstaging%2Fansuel.git kernel: iscsi-initator: fix kernel config symbols Enable SCSI low-level drivers on targets that don't have it already in order to fix following build failures on few platforms: .config:4739:warning: symbol value 'm' invalid for SCSI_LOWLEVEL * Restart config... * SCSI low-level drivers SCSI low-level drivers (SCSI_LOWLEVEL) [Y/n] (NEW) aborted! Fixes: b88f8202c4ce ("kernel: add iscsi-initator support") Signed-off-by: Lucian Cristian [commit subject and description facelift] Signed-off-by: Petr Štetiar --- diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk index faea5cc34e..fbd3c81911 100644 --- a/package/kernel/linux/modules/block.mk +++ b/package/kernel/linux/modules/block.mk @@ -276,9 +276,9 @@ define KernelPackage/iscsi-initiator DEPENDS:=+kmod-scsi-core +kmod-crypto-hash KCONFIG:= \ CONFIG_INET \ - CONFIG_SCSI_LOWLEVEL \ + CONFIG_SCSI_LOWLEVEL=y \ CONFIG_ISCSI_TCP \ - CONFIG_SCSI_ISCSI_ATTRS + CONFIG_SCSI_ISCSI_ATTRS=y FILES:= \ $(LINUX_DIR)/drivers/scsi/iscsi_tcp.ko \ $(LINUX_DIR)/drivers/scsi/libiscsi.ko \