summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-19 12:21:29 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-20 10:13:50 +0200
commitd7b185128d8506d4844931094c9bc2d011ec006f (patch)
treedf58509ddc3baf630b1de96a90e6e4f1c88bf044
parentceee47ba646edd54c8b40365b43b4a048ef45cf5 (diff)
downloadmaster-31e0f0ae-d7b185128d8506d4844931094c9bc2d011ec006f.tar.gz
master-31e0f0ae-d7b185128d8506d4844931094c9bc2d011ec006f.tar.bz2
master-31e0f0ae-d7b185128d8506d4844931094c9bc2d011ec006f.zip
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>
-rw-r--r--config/Config-images.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Config-images.in b/config/Config-images.in
index 958bda4227..f81931e47f 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.