zephyr/subsys/net/l2
Ulf Magnusson 214ef00db3 kconfig: subsys: net: Remove redundant dependencies
subsys/net/lib/lwm2m/Kconfig.ipso is 'source'd within an 'if LWM2M', in
subsys/net/lib/lwm2m/Kconfig, so the 'depends on LWM2M' is redundant.

The 'depends on NET_IPV4' and 'depends on NET_L2_OPENTHREAD' are within
corresponding 'if's in the same file.

'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-09 09:49:59 -05:00
..
bluetooth net/l2: Switch bluetooth L2 to new net_pkt allocator 2019-02-21 09:30:20 -05:00
canbus net: canbus: Set link address type correctly 2019-02-08 16:01:49 +02:00
dummy net/l2: Finally get rid of reserve concept from L2 2018-12-14 14:16:37 +01:00
ethernet kconfig: ethernet: Remove duplicated dependencies 2019-03-08 07:23:02 -05:00
ieee802154 net/ieee802154: Switch fragmentation support to new net_pkt API 2019-02-23 07:44:59 -05:00
openthread kconfig: subsys: net: Remove redundant dependencies 2019-03-09 09:49:59 -05:00
wifi shell: Modify subcommands to use SHELL_STATIC_SUBCMD_SET_CREATE 2019-02-20 07:31:35 -05:00
CMakeLists.txt net: l2: Add CANBUS L2 layer 2019-02-07 18:08:27 +02:00
Kconfig net: l2: Add CANBUS L2 layer 2019-02-07 18:08:27 +02:00