
14 Jul
2017
14 Jul
'17
4:22 p.m.
There's an unconditional dependency from the mass-storage command onto the mass-storage function through a call to fsg_main_thread(...). If USB_FUNCTION_MASS_STORAGE is not enabled, this will result in link-errors when CMD_USB_MASS_STORAGE is enabled.
Let's introduce an 'implies' relationship to model this dependency.
Signed-off-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com ---
cmd/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig index 6758db1..a60a568 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -667,6 +667,7 @@ config CMD_DFU
config CMD_USB_MASS_STORAGE bool "UMS usb mass storage" + imply USB_FUNCTION_MASS_STORAGE help USB mass storage support
--
2.1.4