From d7b185128d8506d4844931094c9bc2d011ec006f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 19 Jul 2016 12:21:29 +0200 Subject: [PATCH] build: make TARGET_ROOTFS_JFFS2 depend on USES_JFFS2 If jffs2 support was not enabled by the target, jffs2 are quite likely to be broken, so we shouldn't build them. Signed-off-by: Felix Fietkau --- config/Config-images.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/Config-images.in b/config/Config-images.in index 958bda4227..f81931e47f 100644 --- a/config/Config-images.in +++ b/config/Config-images.in @@ -126,7 +126,7 @@ menu "Target Images" config TARGET_ROOTFS_JFFS2 bool "jffs2" - default y if USES_JFFS2 + depends on USES_JFFS2 help Build a JFFS2 root filesystem. -- 2.25.1