summaryrefslogtreecommitdiffstats
path: root/openwrt/target/squashfs/squashfsroot.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/squashfs/squashfsroot.mk')
-rw-r--r--openwrt/target/squashfs/squashfsroot.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/openwrt/target/squashfs/squashfsroot.mk b/openwrt/target/squashfs/squashfsroot.mk
index 4dd6800a0..d3a104a83 100644
--- a/openwrt/target/squashfs/squashfsroot.mk
+++ b/openwrt/target/squashfs/squashfsroot.mk
@@ -47,3 +47,8 @@ squashfsroot-clean:
squashfsroot-dirclean:
rm -rf $(SQUASHFS_DIR)
+
+ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS)),y)
+TARGETS+=squashfsroot openwrt-image
+ROOTFS=squashfs
+endif