From ca6722f0b9bce38951a7023b39f389f26cafbeda Mon Sep 17 00:00:00 2001 From: chenrun1 Date: Mon, 6 Jan 2025 19:52:20 +0800 Subject: [PATCH] examples: Add depends to different test cases Summary: 1.ftpd 2.unionfs 3.userfs 4.nxffs 5.smart Signed-off-by: chenrun1 --- examples/unionfs/Kconfig | 2 +- examples/userfs/Kconfig | 1 + testing/fs/nxffs/Kconfig | 1 + testing/fs/smart/Kconfig | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/unionfs/Kconfig b/examples/unionfs/Kconfig index 00e04c3d793..c6df6e185f1 100644 --- a/examples/unionfs/Kconfig +++ b/examples/unionfs/Kconfig @@ -6,7 +6,7 @@ config EXAMPLES_UNIONFS tristate "Union file system example" default n - depends on (FS_ROMFS || FS_UNIONFS) && BUILD_FLAT + depends on FS_ROMFS && FS_UNIONFS && BUILD_FLAT ---help--- Enable the Union File System example diff --git a/examples/userfs/Kconfig b/examples/userfs/Kconfig index b1d868f5a3f..c49764c5f1f 100644 --- a/examples/userfs/Kconfig +++ b/examples/userfs/Kconfig @@ -5,6 +5,7 @@ config EXAMPLES_USERFS tristate "UserFS test" + depends on FS_USERFS default n ---help--- Enables a simple test of the UserFS diff --git a/testing/fs/nxffs/Kconfig b/testing/fs/nxffs/Kconfig index 759b7744d19..fc263b8778e 100644 --- a/testing/fs/nxffs/Kconfig +++ b/testing/fs/nxffs/Kconfig @@ -5,6 +5,7 @@ config TESTING_NXFFS tristate "NXFFS file system example" + depends on FS_NXFFS && RAMMTD default n ---help--- Enable the NXFFS file system example diff --git a/testing/fs/smart/Kconfig b/testing/fs/smart/Kconfig index ed30bdb9a80..0ad79cf3662 100644 --- a/testing/fs/smart/Kconfig +++ b/testing/fs/smart/Kconfig @@ -5,6 +5,7 @@ config TESTING_SMART tristate "SMART file system example" + depends on SMART_DEV_LOOP && RAMMTD && FS_SMARTFS default n ---help--- Enable the SMART file system example