summaryrefslogtreecommitdiff
path: root/openwrt/target/jffs2/jffs2root.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/jffs2/jffs2root.mk')
-rw-r--r--openwrt/target/jffs2/jffs2root.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/openwrt/target/jffs2/jffs2root.mk b/openwrt/target/jffs2/jffs2root.mk
index 90a60165cb..8dcd00f572 100644
--- a/openwrt/target/jffs2/jffs2root.mk
+++ b/openwrt/target/jffs2/jffs2root.mk
@@ -43,3 +43,8 @@ jffs2root-clean:
jffs2root-dirclean:
rm -rf $(MTD_DIR)
+
+ifeq ($(strip $(BR2_TARGET_ROOTFS_JFFS2)),y)
+TARGETS+=jffs2root openwrt-image
+ROOTFS=jffs2
+endif