diff --git a/examples/nxflat/Kconfig b/examples/nxflat/Kconfig index a3f86488e..9516bd2e2 100644 --- a/examples/nxflat/Kconfig +++ b/examples/nxflat/Kconfig @@ -6,6 +6,7 @@ config EXAMPLES_NXFLAT bool "NXFLAT example" default n + depends on NXFLAT && BUILD_FLAT ---help--- Enable the NXFLAT example diff --git a/examples/romfs/Kconfig b/examples/romfs/Kconfig index 4da4d5052..0c8a6cc64 100644 --- a/examples/romfs/Kconfig +++ b/examples/romfs/Kconfig @@ -6,7 +6,7 @@ config EXAMPLES_ROMFS bool "ROMFS example" default n - depends on FS_ROMFS + depends on FS_ROMFS && BUILD_FLAT ---help--- Enable the ROMFS example diff --git a/examples/thttpd/Kconfig b/examples/thttpd/Kconfig index 0cef2e149..008904546 100644 --- a/examples/thttpd/Kconfig +++ b/examples/thttpd/Kconfig @@ -6,7 +6,7 @@ config EXAMPLES_THTTPD bool "THTTPD web server example" default n - depends on FS_ROMFS + depends on FS_ROMFS && BUILD_FLAT ---help--- Enable the THTTPD web server example diff --git a/examples/unionfs/Kconfig b/examples/unionfs/Kconfig index b971ba63b..17a6589e7 100644 --- a/examples/unionfs/Kconfig +++ b/examples/unionfs/Kconfig @@ -6,7 +6,7 @@ config EXAMPLES_UNIONFS bool "Union file system example" default n - depends on FS_ROMFS || FS_UNIONFS + depends on (FS_ROMFS || FS_UNIONFS) && BUILD_FLAT ---help--- Enable the Union File System example