From: Jo-Philipp Wich Date: Fri, 27 May 2016 16:14:37 +0000 (+0200) Subject: kernel: fix dependency chain of kmod-igb X-Git-Tag: v17.01.0-rc1~2626 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c4879556feca47fb2d5380c7aeb186a629e244cb;p=openwrt%2Fstaging%2Fchunkeey.git kernel: fix dependency chain of kmod-igb The igb kmods selects kmod-i2c-algo-bit which in turn is invisible until kmod-i2c-core gets selected, causing kmod-igb to be hidden from menuconfig as well. Let kmod-igb select kmod-i2c-core as well in order to make it visible in menuconfig right away. Signed-off-by: Jo-Philipp Wich --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index eaa37d1a7d..1ee5801130 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -509,7 +509,7 @@ $(eval $(call KernelPackage,e1000e)) define KernelPackage/igb SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support - DEPENDS:=@PCI_SUPPORT +kmod-i2c-algo-bit +kmod-ptp + DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp KCONFIG:=CONFIG_IGB \ CONFIG_IGB_HWMON=n \ CONFIG_IGB_DCA=n