Procházet zdrojové kódy

cmd: CMD_USB depends on USB

The usb command cannot be compiled with CONFIG_USB=n:

ld.bfd: cmd/usb.c:660: undefined reference to `usb_stop'
ld.bfd: cmd/usb.c:663: undefined reference to `usb_started'

Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Heinrich Schuchardt před 3 roky
rodič
revize
7823ba3397
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      cmd/Kconfig

+ 1 - 0
cmd/Kconfig

@@ -1309,6 +1309,7 @@ config CMD_UNIVERSE
 
 config CMD_USB
 	bool "usb"
+	depends on USB
 	select HAVE_BLOCK_DEVICE
 	help
 	  USB support.