mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] cmd: CMD_UBI depends on UBI
@ 2011-09-19 13:16 Teresa Gámez
  0 siblings, 0 replies; only message in thread
From: Teresa Gámez @ 2011-09-19 13:16 UTC (permalink / raw)
  To: barebox

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>
---
 commands/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/commands/Kconfig b/commands/Kconfig
index 39bdb0f..f2b61bd 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
-- 
1.7.0.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-19 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-19 13:16 [PATCH] cmd: CMD_UBI depends on UBI Teresa Gámez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox