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>
This commit is contained in:
parent
ceee47ba64
commit
d7b185128d
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ menu "Target Images"
|
||||||
|
|
||||||
config TARGET_ROOTFS_JFFS2
|
config TARGET_ROOTFS_JFFS2
|
||||||
bool "jffs2"
|
bool "jffs2"
|
||||||
default y if USES_JFFS2
|
depends on USES_JFFS2
|
||||||
help
|
help
|
||||||
Build a JFFS2 root filesystem.
|
Build a JFFS2 root filesystem.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue