[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:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=d7b185128d8506d4844931094c9bc2d011ec006f

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"
 
 	config TARGET_ROOTFS_JFFS2
 		bool "jffs2"
-		default y if USES_JFFS2
+		depends on USES_JFFS2
 		help
 		  Build a JFFS2 root filesystem.
 



More information about the lede-commits mailing list