summaryrefslogtreecommitdiff
path: root/fs/squashfs/squashfsroot.mk
diff options
context:
space:
mode:
Diffstat (limited to 'fs/squashfs/squashfsroot.mk')
-rw-r--r--fs/squashfs/squashfsroot.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/squashfs/squashfsroot.mk b/fs/squashfs/squashfsroot.mk
new file mode 100644
index 0000000..d72388e
--- /dev/null
+++ b/fs/squashfs/squashfsroot.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# Build the squashfs root filesystem image
+#
+#############################################################
+
+ROOTFS_SQUASHFS_DEPENDENCIES = host-squashfs
+
+define ROOTFS_SQUASHFS_CMD
+ $(HOST_DIR)/usr/bin/mksquashfs $(TARGET_DIR) $$@ -noappend
+endef
+
+$(eval $(call ROOTFS_TARGET,squashfs)) \ No newline at end of file