public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] ubifs: Add missing dependency on GZIP
@ 2022-05-23 20:50 Pali Rohár
  2022-06-07 16:47 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Pali Rohár @ 2022-05-23 20:50 UTC (permalink / raw)
  To: u-boot

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>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 69c1814d24af..50e60fd4d5b6 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2562,6 +2562,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.
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-07 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-23 20:50 [PATCH] ubifs: Add missing dependency on GZIP Pali Rohár
2022-06-07 16:47 ` Tom Rini

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