9
0
Fork 0

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:
Teresa Gámez 2011-09-19 15:16:47 +02:00 committed by Sascha Hauer
parent ad68c2f829
commit bbd329494b
1 changed files with 1 additions and 0 deletions

View File

@ -272,6 +272,7 @@ config CMD_FLASH
config CMD_UBI
tristate
default y if UBI
depends on UBI
prompt "ubimkvol, ubirmvol, ubiattach"
endmenu