diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-09 00:49:01 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-09 00:49:01 +0000 |
commit | 2850f1788fbc812fff0d9400c32610e4cfa4dd56 (patch) | |
tree | 1271098d723feb26e4373d1655c14c051bf7657c /platforms | |
parent | f4dee58002ba5b8a881c38f694439dcfa7fbb9ed (diff) | |
download | ptxdist-2850f1788fbc812fff0d9400c32610e4cfa4dd56.tar.gz ptxdist-2850f1788fbc812fff0d9400c32610e4cfa4dd56.tar.xz |
Add support for creating a squashfs image
Signed-off-by: Jon Ringle <jon@ringle.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10025 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/Kconfig | 1 | ||||
-rw-r--r-- | platforms/hosttools.in | 2 | ||||
-rw-r--r-- | platforms/image_squashfs.in | 32 |
3 files changed, 34 insertions, 1 deletions
diff --git a/platforms/Kconfig b/platforms/Kconfig index 389b9ef3b..f8ba990fc 100644 --- a/platforms/Kconfig +++ b/platforms/Kconfig @@ -53,6 +53,7 @@ source "platforms/image_jffs2.in" source "platforms/image_uimage.in" source "platforms/image_cpio.in" source "platforms/image_ext2.in" +source "platforms/image_squashfs.in" endmenu source "platforms/flash.in" diff --git a/platforms/hosttools.in b/platforms/hosttools.in index 9ec94be53..46f9521e0 100644 --- a/platforms/hosttools.in +++ b/platforms/hosttools.in @@ -6,7 +6,7 @@ source "rules/host-mtd-utils.in" source "rules/host-liblzo.in" source "rules/host-umkimage.in" source "rules/host-mkelfImage.in" - +source "rules/host-squashfs-tools.in" # common source "rules/host-zlib.in" diff --git a/platforms/image_squashfs.in b/platforms/image_squashfs.in new file mode 100644 index 000000000..3323140da --- /dev/null +++ b/platforms/image_squashfs.in @@ -0,0 +1,32 @@ +## SECTION=images + +menuconfig IMAGE_SQUASHFS + bool + select HOST_SQUASHFS_TOOLS + prompt "Generate images/root.squashfs " + help + Build a squashfs image of the root filesystem. This image can be stored + linearly into target's flash device at the start of the desired + partition. You should erase the whole partition first if the image + is smaller than partition's size. If not, garbage data in the remaining + space could confuse the filesystem driver. + +if IMAGE_SQUASHFS + +config IMAGE_SQUASHFS_BLOCK_SIZE + string + default "${FLASH_BLOCKSIZE}" + prompt "Block size" + help + This allows the compression data block size to be selected, both "K" and "M" + postfixes are supported, this can be either 4K, 8K, 16K, 32K, 64K, 128K, + 256K, 512K or 1M bytes. + +config IMAGE_SQUASHFS_EXTRA_ARGS + string + default "" + prompt "extra arguments passed to mksquashfs" + help + You can add extra arguments for mksquashfs here + +endif |