[source] build: make TARGET_ROOTFS_JFFS2 depend on USES_JFFS2

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 20 01:18:10 PDT 2016

nbd pushed a commit to source.git, branch master:

commit d7b185128d8506d4844931094c9bc2d011ec006f
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Jul 19 12:21:29 2016 +0200

    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 <nbd at nbd.name>
 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 958bda4..f81931e 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -126,7 +126,7 @@ menu "Target Images"
 		bool "jffs2"
-		default y if USES_JFFS2
+		depends on USES_JFFS2
 		  Build a JFFS2 root filesystem.

More information about the lede-commits mailing list