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@xxxxxxxxx> --- 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox