From: Petr Štetiar Date: Thu, 26 Nov 2020 09:23:35 +0000 (+0100) Subject: kernel: sfc,sfc-falcon: fix kernel config symbols X-Git-Tag: v21.02.0-rc1~960 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e5ba6e9c28ad3ee8624a5df0e056cffead765779;p=openwrt%2Fstaging%2Fchunkeey.git kernel: sfc,sfc-falcon: fix kernel config symbols I've just noticed on i.mx6 target, that there are missing kernel symbols so I'm fixing it. Fixes: 3c5d70ad26ed ("kernel: add module support Solarflare network adapter") Signed-off-by: Petr Štetiar --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 900e5ce63c..901bddddea 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1196,10 +1196,10 @@ define KernelPackage/sfc DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-lib-crc32c +kmod-ptp +kmod-hwmon-core KCONFIG:= \ CONFIG_SFC \ - CONFIG_SFC_MTD \ - CONFIG_SFC_MCDI_MON \ - CONFIG_SFC_MCDI_LOGGING \ - CONFIG_SFC_SRIOV + CONFIG_SFC_MTD=y \ + CONFIG_SFC_MCDI_MON=y \ + CONFIG_SFC_MCDI_LOGGING=y \ + CONFIG_SFC_SRIOV=y FILES:=$(LINUX_DIR)/drivers/net/ethernet/sfc/sfc.ko AUTOLOAD:=$(call AutoProbe,sfc) endef @@ -1217,7 +1217,7 @@ define KernelPackage/sfc-falcon DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-lib-crc32c +kmod-i2c-algo-bit KCONFIG:= \ CONFIG_SFC_FALCON \ - CONFIG_SFC_FALCON_MTD + CONFIG_SFC_FALCON_MTD=y FILES:=$(LINUX_DIR)/drivers/net/ethernet/sfc/falcon/sfc-falcon.ko AUTOLOAD:=$(call AutoProbe,sfc-falcon) endef