kernel: let kmod-rtl8366-smi conditionally depend on kmod-of-mdio
authorJo-Philipp Wich <jo@mein.io>
Sun, 13 May 2018 16:21:59 +0000 (18:21 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 13 May 2018 16:24:38 +0000 (18:24 +0200)
commit56bd23cf529fa4dd840bfe6e615bcac470791f36
treefe0453252749240137b8e1ac2cd458b03866214d
parent404508001e9f2bbf09fc4c4027cf16b8720124db
kernel: let kmod-rtl8366-smi conditionally depend on kmod-of-mdio

We cannot depend on CONFIG_OF in the module definition context as this symbol
is not defined for OpenWrt menuconfig. Depend on the targets that appear to
need the kmod-of-mdio module instead.

The target dependency list may not be complete, it is based on the build
failures encountered by the build bots.

Fixes: dc629d9cf5 ("kernel: fix kmod-switch-rtl8366-smi dependency")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/kernel/linux/modules/netdevices.mk