Ver Fonte

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 <[email protected]>
Felix Fietkau há 9 anos atrás
pai
commit
d7b185128d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      config/Config-images.in

+ 1 - 1
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.