1#
2# Library configuration
3#
4mainmenu_option next_comment
5comment 'Library routines'
6
7tristate 'CRC32 functions' CONFIG_CRC32
8
9#
10# Do we need the compression support?
11#
12if [ "$CONFIG_CRAMFS" = "y" -o \
13     "$CONFIG_PPP_DEFLATE" = "y" -o \
14     "$CONFIG_CRYPTO_DEFLATE" = "y" -o \
15     "$CONFIG_JFFS2_FS" = "y" -o \
16     "$CONFIG_ZISOFS_FS" = "y" ]; then
17   define_tristate CONFIG_ZLIB_INFLATE y
18else
19  if [ "$CONFIG_CRAMFS" = "m" -o \
20       "$CONFIG_PPP_DEFLATE" = "m" -o \
21       "$CONFIG_CRYPTO_DEFLATE" = "m" -o \
22       "$CONFIG_JFFS2_FS" = "m" -o \
23       "$CONFIG_ZISOFS_FS" = "m" ]; then
24     define_tristate CONFIG_ZLIB_INFLATE m
25  else
26     tristate 'zlib decompression support' CONFIG_ZLIB_INFLATE
27  fi
28fi
29
30if [ "$CONFIG_PPP_DEFLATE" = "y" -o \
31     "$CONFIG_CRYPTO_DEFLATE" = "y" -o \
32     "$CONFIG_JFFS2_FS" = "y" ]; then
33   define_tristate CONFIG_ZLIB_DEFLATE y
34else
35  if [ "$CONFIG_PPP_DEFLATE" = "m" -o \
36       "$CONFIG_CRYPTO_DEFLATE" = "m" -o \
37       "$CONFIG_JFFS2_FS" = "m" ]; then
38     define_tristate CONFIG_ZLIB_DEFLATE m
39  else
40     tristate 'zlib compression support' CONFIG_ZLIB_DEFLATE
41  fi
42fi
43
44if [ "$CONFIG_EXPERIMENTAL" = "y" -a \
45     "$CONFIG_HOTPLUG" = "y" ]; then
46   tristate 'Hotplug firmware loading support (EXPERIMENTAL)' CONFIG_FW_LOADER
47fi
48
49endmenu
50