[openwrt/openwrt] kernel: iscsi-initator: fix kernel config symbols

LEDE Commits lede-commits at lists.infradead.org
Thu Jul 9 04:29:02 EDT 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1337093e87b42c06cd524a253d4081f186508e1d

commit 1337093e87b42c06cd524a253d4081f186508e1d
Author: Lucian Cristian <lucian.cristian at gmail.com>
AuthorDate: Wed Jul 8 22:49:57 2020 +0300

    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 <lucian.cristian at gmail.com>
    [commit subject and description facelift]
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 package/kernel/linux/modules/block.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 \



More information about the lede-commits mailing list