Move all filesystem generation code to fs/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni
2010-03-10 22:30:06 +01:00
parent 325bfd1cba
commit 0585241505
30 changed files with 37 additions and 34 deletions

10
fs/cloop/Config.in Normal file
View File

@@ -0,0 +1,10 @@
config BR2_TARGET_ROOTFS_CLOOP
bool "cloop root filesystem for the target device"
help
Build a cloop root filesystem
cloop is a Linux kernel module that enables compressed
loopback filesystem support. With it you can mount a
compressed filesystem like a block device and seamlessly
decompress its data while accessing it. The majority of the
software on an LNX-BBC is accessed in this fashion.

13
fs/cloop/cloop.mk Normal file
View File

@@ -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))