summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeresa Gámez <t.gamez@phytec.de>2011-09-19 15:16:47 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-09-20 08:52:31 +0200
commitbbd329494ba6e391028f534feea3b3111749656e (patch)
tree9ea43bd1b82a6719f99966c6d619b0a6b1161b38
parentad68c2f8291df939096208b8c588238c05659932 (diff)
downloadbarebox-bbd329494ba6e391028f534feea3b3111749656e.tar.gz
barebox-bbd329494ba6e391028f534feea3b3111749656e.tar.xz
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>
-rw-r--r--commands/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 39bdb0f619..f2b61bd808 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -272,6 +272,7 @@ config CMD_FLASH
config CMD_UBI
tristate
default y if UBI
+ depends on UBI
prompt "ubimkvol, ubirmvol, ubiattach"
endmenu