mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-12 15:45:49 +00:00
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
eth_dw_priv.h | ||
eth_dw.c | ||
eth_e1000_priv.h | ||
eth_e1000.c | ||
eth_enc28j60_priv.h | ||
eth_enc28j60.c | ||
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.enc28j60 | ||
Kconfig.mcux | ||
Kconfig.native_posix | ||
Kconfig.sam_gmac | ||
Kconfig.smsc911x | ||
Kconfig.stellaris | ||
Kconfig.stm32_hal | ||
phy_sam_gmac.c | ||
phy_sam_gmac.h |