cmd: CMD_UBI depends on UBI
When ubi is deselected the ubi commands are still build and compiling fails due dependences. commands/built-in.o: In function `do_ubiattach': commands/ubi.c:75: undefined reference to `ubi_attach_mtd_dev' Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
ad68c2f829
commit
bbd329494b
|
@ -272,6 +272,7 @@ config CMD_FLASH
|
|||
config CMD_UBI
|
||||
tristate
|
||||
default y if UBI
|
||||
depends on UBI
|
||||
prompt "ubimkvol, ubirmvol, ubiattach"
|
||||
|
||||
endmenu
|
||||
|
|
Loading…
Reference in New Issue