summaryrefslogtreecommitdiff
path: root/target/squashfs/Config.in
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-04-06 09:21:36 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-04-06 09:21:36 +0000
commit7092bd901d26e2aeeec44625f92d2b25fc28539c (patch)
tree5b8a57d1ac81a8d30568baa3a0769e1fd412e2eb /target/squashfs/Config.in
parent2b380f816007dce8531aaaee262207788974dfe3 (diff)
squashfs: add v4.0 support and version selection
Squashfs 4.0 is needed to create file systems for the mainline squashfs version (mainline from 2.6.29). This is unfortunately not compatible with the old 3.x version and the external kernel patches, so add a choice between the 2 versions.
Diffstat (limited to 'target/squashfs/Config.in')
-rw-r--r--target/squashfs/Config.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/squashfs/Config.in b/target/squashfs/Config.in
index 297db951e..9259ba350 100644
--- a/target/squashfs/Config.in
+++ b/target/squashfs/Config.in
@@ -4,3 +4,29 @@ config BR2_TARGET_ROOTFS_SQUASHFS
help
Build a squashfs root filesystem
+choice
+ prompt "Squashfs version"
+ default BR2_TARGET_ROOTFS_SQUASHFS_4
+ depends on BR2_TARGET_ROOTFS_SQUASHFS
+ help
+ Select squashfs version - This must match what your kernel
+ supports. Select 3.x if you use the legacy 3.x kernel
+ patches (pre 2.6.29), and 4.x otherwise.
+
+config BR2_TARGET_ROOTFS_SQUASHFS_3
+ depends on BR2_DEPRECATED || BR2_RECENT
+ bool "3.x"
+ help
+ Select this if you use the legacy 3.x kernel patches (pre 2.6.29)
+
+config BR2_TARGET_ROOTFS_SQUASHFS_4
+ bool "4.x"
+ help
+ Select this if you use the squashfs version in mainline (from 2.6.29)
+
+endchoice
+
+config BR2_TARGET_ROOTFS_SQUASHFS_VERSION
+ string
+ default "3.4" if BR2_TARGET_ROOTFS_SQUASHFS_3
+ default "4.0" if BR2_TARGET_ROOTFS_SQUASHFS_4