From: Felix Fietkau Date: Tue, 19 Jul 2016 10:21:29 +0000 (+0200) Subject: build: make TARGET_ROOTFS_JFFS2 depend on USES_JFFS2 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fyousong.git;a=commitdiff_plain;h=d7b185128d8506d4844931094c9bc2d011ec006f 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 --- 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.