zephyr/subsys/usb
Ulf Magnusson 94a9342843 kconfig: subsys: usb: Remove redundant USB_DEVICE_STACK deps.
subsys/usb/Kconfig 'source's subsys/usb/class/Kconfig (which in turn
'source's subsys/usb/class/netusb/Kconfig) within an
'if USB_DEVICE_STACK', so the dependencies on USB_DEVICE_STACK added
within those files are redundant.

'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 10:03:27 -05:00
..
class kconfig: subsys: usb: Remove redundant USB_DEVICE_STACK deps. 2019-03-09 10:03:27 -05:00
bos.c
CMakeLists.txt
Kconfig usb: Add remote wakeup support 2019-02-27 10:37:16 +01:00
os_desc.c
os_desc.h
usb_descriptor.c
usb_descriptor.h
usb_device.c usb: Add remote wakeup support 2019-02-27 10:37:16 +01:00