powerpc/mpc85xx_mds: Select PHYLIB only if NETDEVICES is enabled
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 26 Jul 2016 04:30:09 +0000 (21:30 -0700)
committerScott Wood <oss@buserror.net>
Sun, 25 Sep 2016 04:59:41 +0000 (23:59 -0500)
commit93c4ea38a19815d59f2f2afe8414ba27288b8b70
tree661b4b3235e876933b1b55220e4e5fdf35265f81
parentddc6cd0d70a6f958b2c01758ee53279d36db2234
powerpc/mpc85xx_mds: Select PHYLIB only if NETDEVICES is enabled

PHYLIB depends on NETDEVICES, so to avoid unmet dependencies warning
from Kconfig it needs to be selected conditionally.

Also add checks if PHYLIB is built-in to avoid undefined references to
PHYLIB's symbols.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/platforms/85xx/Kconfig
arch/powerpc/platforms/85xx/mpc85xx_mds.c