[Concept,v2,18/30] ext4l: Add a few Kconfig dependencies

Message ID 20260102005112.552256-19-sjg@u-boot.org
State New
Headers
Series ext4l: Add write support (part L) |

Commit Message

Simon Glass Jan. 2, 2026, 12:50 a.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

The ext4l driver requires the filesystem framework (FS) and rbtree
library (RBTREE) to build correctly. Add the first as an explicit
dependency and 'select' the second, to prevent build failures when ext4l
is enabled.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

(no changes since v1)

 fs/ext4l/Kconfig | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

diff --git a/fs/ext4l/Kconfig b/fs/ext4l/Kconfig
index 998f0f45474..be989208ec5 100644
--- a/fs/ext4l/Kconfig
+++ b/fs/ext4l/Kconfig
@@ -5,6 +5,9 @@ 
 
 config FS_EXT4L
 	bool "Enable ext4 filesystem support (Linux port)"
+	depends on FS
+	select RBTREE
+	select CRC32C
 	help
 	  This provides support for reading images from the ext4 filesystem,
 	  using code ported from Linux. This is mutually exclusive with