aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPali Rohár2022-05-23 22:50:36 +0200
committerTom Rini2022-06-06 18:01:21 -0400
commitb257c4e9064dc4c2b86d30cec5ece368ca981225 (patch)
tree47c180defe1d96f325bfa599aed219c3b73b5849 /cmd
parent98303ce73d7a14b8019824e7c7912a223e4a6207 (diff)
ubifs: Add missing dependency on GZIP
GZIP option can be manually de-selected when UBIFS is enabled. This cause following compile error because ubifs calls gzip functions. /tmp/ccxVrh2c.ltrans1.ltrans.o: in function `gzip_decompress.lto_priv.566': <artificial>:(.text+0x768): undefined reference to `zunzip' collect2: error: ld returned 1 exit status make: *** [Makefile:1813: u-boot] Error 1 So add missing dependency on GZIP. Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 06ec81007ad..9a0b7203112 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2569,6 +2569,7 @@ config CMD_UBIFS
depends on CMD_UBI
default y if CMD_UBI
select LZO
+ select GZIP
help
UBIFS is a file system for flash devices which works on top of UBI.