generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
10
fs/cloop/Config.in
Normal file
10
fs/cloop/Config.in
Normal 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.
|
||||
14
fs/cloop/cloop.mk
Normal file
14
fs/cloop/cloop.mk
Normal file
@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# Build the compressed loop root filesystem image
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ROOTFS_CLOOP_DEPENDENCIES = host-cloop host-cdrkit
|
||||
|
||||
define ROOTFS_CLOOP_CMD
|
||||
$(HOST_DIR)/bin/genisoimage -r $(TARGET_DIR) | \
|
||||
$(HOST_DIR)/bin/create_compressed_fs - 65536 > $@
|
||||
endef
|
||||
|
||||
$(eval $(rootfs))
|
||||
Reference in New Issue
Block a user