cmd: ubifs: Add a dependency on CMD_UBI
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 3 Mar 2017 13:53:22 +0000 (14:53 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 7 Apr 2017 05:53:46 +0000 (11:23 +0530)
CMD_UBIFS can't compile without CMD_UBI enabled. Make sure we can't end up
in that case.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Heiko Schocher <hs@denx.de>
cmd/Kconfig

index 85fe728569d64fe3676d586d679292c60cd73831..c9b17f0e621faef3ace4d25151aa6b393831b612 100644 (file)
@@ -858,6 +858,7 @@ config CMD_UBI
 
 config CMD_UBIFS
        tristate "Enable UBIFS - Unsorted block images filesystem commands"
+       depends on CMD_UBI
        select CRC32
        select RBTREE if ARCH_SUNXI
        select LZO if ARCH_SUNXI