summaryrefslogtreecommitdiff
path: root/fs/cloop/cloop.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-04-09 16:16:44 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-04-09 16:16:44 +0200
commit6bb35a38c244b20bbd6e85fd16f69ff2c4f0ed72 (patch)
tree432513fc67dcff844ecf5c48f38bdcf1a9fe3523 /fs/cloop/cloop.mk
parentb6ebab842dbb0581526f907bf5b39cad0ac1f756 (diff)
parent0b79c5022d32b15180a18087a0fba5a2f1af5cc7 (diff)
Merge branch 'fs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'fs/cloop/cloop.mk')
-rw-r--r--fs/cloop/cloop.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/cloop/cloop.mk b/fs/cloop/cloop.mk
new file mode 100644
index 000000000..c1d6abb80
--- /dev/null
+++ b/fs/cloop/cloop.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# Build the compressed loop root filesystem image
+#
+#############################################################
+
+ROOTFS_CLOOP_DEPENDENCIES = host-cloop host-cdrkit
+
+define ROOTFS_CLOOP_CMD
+ $(HOST_DIR)/usr/bin/genisoimage -r $(TARGET_DIR) | $(HOST_DIR)/usr/bin/create_compressed_fs - 65536 > $$@
+endef
+
+$(eval $(call ROOTFS_TARGET,cloop)) \ No newline at end of file