summaryrefslogtreecommitdiffstats
path: root/target/jffs2/jffs2root.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/jffs2/jffs2root.mk')
-rw-r--r--target/jffs2/jffs2root.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk
index 3e64a62d5..0dad3f416 100644
--- a/target/jffs2/jffs2root.mk
+++ b/target/jffs2/jffs2root.mk
@@ -64,5 +64,11 @@ jffs2root-clean: mtd-host-clean
jffs2root-dirclean: mtd-host-dirclean
-rm -f $(JFFS2_TARGET)
-
-
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
+TARGETS+=jffs2root
+endif