zephyr/drivers/ethernet
Ulf Magnusson 48753144bd kconfig: ethernet: Remove duplicated dependencies
Some of these are from 'source'ing a file within a menu that has a
'depends on NET_L2_ETHERNET' (in drivers/ethernet/Kconfig) and then
adding another 'depends on NET_L2_ETHERNET' within it.

Similarly, subsys/net/l2/ethernet/Kconfig sources files within an
'if NET_L2_ETHERNET'.

'if FOO' is just shorthand for adding 'depends on FOO' to each item
within the 'if'. Dependencies on menus work similarly. There are no
"conditional includes" in Kconfig, so 'if FOO' has no special meaning
around a source. Conditional includes wouldn't be possible, because an
if condition could include (directly or indirectly) forward references
to symbols not defined yet.

Tip: When adding a symbol, check its dependencies in the menuconfig
('ninja menuconfig', then / to jump to the symbol). The menuconfig also
shows how the file with the symbol got included, so if you see
duplicated dependencies, it's easy to hunt down where they come from.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-08 07:23:02 -05:00
..
CMakeLists.txt
eth_dw_priv.h
eth_dw.c
eth_e1000_priv.h
eth_e1000.c
eth_enc28j60_priv.h
eth_enc28j60.c drivers: eth_enc28j60: fix calculation of frame length 2019-03-07 20:26:18 -05:00
eth_mcux.c
eth_native_posix_adapt.c
eth_native_posix_priv.h
eth_native_posix.c
eth_sam_gmac_priv.h
eth_sam_gmac.c
eth_smsc911x_priv.h
eth_smsc911x.c
eth_stellaris_priv.h
eth_stellaris.c
eth_stm32_hal_priv.h
eth_stm32_hal.c
Kconfig
Kconfig.dw
Kconfig.e1000 kconfig: ethernet: Remove duplicated dependencies 2019-03-08 07:23:02 -05:00
Kconfig.enc28j60
Kconfig.mcux kconfig: ethernet: Remove duplicated dependencies 2019-03-08 07:23:02 -05:00
Kconfig.native_posix
Kconfig.sam_gmac
Kconfig.smsc911x kconfig: ethernet: Remove duplicated dependencies 2019-03-08 07:23:02 -05:00
Kconfig.stellaris
Kconfig.stm32_hal kconfig: ethernet: Remove duplicated dependencies 2019-03-08 07:23:02 -05:00
phy_sam_gmac.c
phy_sam_gmac.h