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@nbd.name>
v19.07.3_mercusys_ac12_duma
Felix Fietkau 8 years ago
parent ceee47ba64
commit d7b185128d

@ -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.

Loading…
Cancel
Save