summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/lib/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'release/src/linux/linux/lib/Config.in')
-rw-r--r--release/src/linux/linux/lib/Config.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/release/src/linux/linux/lib/Config.in b/release/src/linux/linux/lib/Config.in
new file mode 100644
index 00000000..527477aa
--- /dev/null
+++ b/release/src/linux/linux/lib/Config.in
@@ -0,0 +1,40 @@
+#
+# Library configuration
+#
+mainmenu_option next_comment
+comment 'Library routines'
+
+#
+# Do we need the compression support?
+#
+if [ "$CONFIG_CRAMFS" = "y" -o \
+ "$CONFIG_SQUASHFS" = "y" -o \
+ "$CONFIG_PPP_DEFLATE" = "y" -o \
+ "$CONFIG_JFFS2_FS" = "y" -o \
+ "$CONFIG_ZISOFS_FS" = "y" ]; then
+ define_tristate CONFIG_ZLIB_INFLATE y
+else
+ if [ "$CONFIG_CRAMFS" = "m" -o \
+ "$CONFIG_SQUASHFS" = "m" -o \
+ "$CONFIG_PPP_DEFLATE" = "m" -o \
+ "$CONFIG_JFFS2_FS" = "m" -o \
+ "$CONFIG_ZISOFS_FS" = "m" ]; then
+ define_tristate CONFIG_ZLIB_INFLATE m
+ else
+ tristate 'zlib decompression support' CONFIG_ZLIB_INFLATE
+ fi
+fi
+
+if [ "$CONFIG_PPP_DEFLATE" = "y" -o \
+ "$CONFIG_JFFS2_FS" = "y" ]; then
+ define_tristate CONFIG_ZLIB_DEFLATE y
+else
+ if [ "$CONFIG_PPP_DEFLATE" = "m" -o \
+ "$CONFIG_JFFS2_FS" = "m" ]; then
+ define_tristate CONFIG_ZLIB_DEFLATE m
+ else
+ tristate 'zlib compression support' CONFIG_ZLIB_DEFLATE
+ fi
+fi
+
+endmenu