Ignore:
Timestamp:
Feb 25, 2011, 9:26:54 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi-busybox/modutils/Config.in

    r1765 r2725  
     1# DO NOT EDIT. This file is generated from Config.src
    12#
    23# For a description of the syntax of this configuration file,
     
    56
    67menu "Linux Module Utilities"
     8depends on PLATFORM_LINUX
     9
     10config MODINFO
     11    bool "modinfo"
     12    default y
     13    help
     14      Show information about a Linux Kernel module
     15
     16config MODPROBE_SMALL
     17    bool "Simplified modutils"
     18    default y
     19    help
     20      Simplified modutils.
     21
     22      With this option modprobe does not require modules.dep file
     23      and does not use /etc/modules.conf file.
     24      It scans module files in /lib/modules/`uname -r` and
     25      determines dependencies and module alias names on the fly.
     26      This may make module loading slower, most notably
     27      when one needs to load module by alias (this requires
     28      scanning through module _bodies_).
     29
     30      At the first attempt to load a module by alias modprobe
     31      will try to generate modules.dep.bb file in order to speed up
     32      future loads by alias. Failure to do so (read-only /lib/modules,
     33      etc) is not reported, and future modprobes will be slow too.
     34
     35      NB: modules.dep.bb file format is not compatible
     36      with modules.dep file as created/used by standard module tools.
     37
     38      Additional module parameters can be stored in
     39      /etc/modules/$module_name files.
     40
     41      Apart from modprobe, other utilities are also provided:
     42      - insmod is an alias to modprobe
     43      - rmmod is an alias to modprobe -r
     44      - depmod generates modules.dep.bb
     45
     46      As of 2008-07, this code is experimental. It is 14kb smaller
     47      than "non-small" modutils.
     48
     49config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
     50    bool "Accept module options on modprobe command line"
     51    default y
     52    depends on MODPROBE_SMALL
     53    help
     54      Allow insmod and modprobe take module options from command line.
     55
     56config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
     57    bool "Skip loading of already loaded modules"
     58    default y
     59    depends on MODPROBE_SMALL
     60    help
     61      Check if the module is already loaded.
    762
    863config INSMOD
    964    bool "insmod"
    1065    default n
     66    depends on !MODPROBE_SMALL
    1167    help
    1268      insmod is used to load specified modules in the running kernel.
    1369
     70config RMMOD
     71    bool "rmmod"
     72    default n
     73    depends on !MODPROBE_SMALL
     74    help
     75      rmmod is used to unload specified modules from the kernel.
     76
     77config LSMOD
     78    bool "lsmod"
     79    default n
     80    depends on !MODPROBE_SMALL
     81    help
     82      lsmod is used to display a list of loaded modules.
     83
     84config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
     85    bool "Pretty output"
     86    default n
     87    depends on LSMOD
     88    help
     89      This option makes output format of lsmod adjusted to
     90      the format of module-init-tools for Linux kernel 2.6.
     91      Increases size somewhat.
     92
     93config MODPROBE
     94    bool "modprobe"
     95    default n
     96    depends on !MODPROBE_SMALL
     97    help
     98      Handle the loading of modules, and their dependencies on a high
     99      level.
     100
     101config FEATURE_MODPROBE_BLACKLIST
     102    bool "Blacklist support"
     103    default n
     104    depends on MODPROBE
     105    help
     106      Say 'y' here to enable support for the 'blacklist' command in
     107      modprobe.conf. This prevents the alias resolver to resolve
     108      blacklisted modules. This is useful if you want to prevent your
     109      hardware autodetection scripts to load modules like evdev, frame
     110      buffer drivers etc.
     111
     112config DEPMOD
     113    bool "depmod"
     114    default n
     115    depends on !MODPROBE_SMALL
     116    help
     117      depmod generates modules.dep (and potentially modules.alias
     118      and modules.symbols) that contain dependency information
     119      for modprobe.
     120
     121comment "Options common to multiple modutils"
     122
     123config FEATURE_2_4_MODULES
     124    bool "Support version 2.2/2.4 Linux kernels"
     125    default n
     126    depends on INSMOD || RMMOD || LSMOD
     127    help
     128      Support module loading for 2.2.x and 2.4.x Linux kernels.
     129      This increases size considerably. Say N unless you plan
     130      to run ancient kernels.
     131
     132config FEATURE_INSMOD_TRY_MMAP
     133    bool "Try to load module from a mmap'ed area"
     134    default n
     135    depends on INSMOD || MODPROBE_SMALL
     136    help
     137      This option causes module loading code to try to mmap
     138      module first. If it does not work (for example,
     139      it does not work for compressed modules), module will be read
     140      (and unpacked if needed) into a memory block allocated by malloc.
     141
     142      The only case when mmap works but malloc does not is when
     143      you are trying to load a big module on a very memory-constrained
     144      machine. Malloc will momentarily need 2x as much memory as mmap.
     145
     146      Choosing N saves about 250 bytes of code (on 32-bit x86).
     147
    14148config FEATURE_INSMOD_VERSION_CHECKING
    15     bool "Module version checking"
    16     default n
    17     depends on INSMOD && FEATURE_2_4_MODULES
    18     help
    19       Support checking of versions for modules.  This is used to
     149    bool "Enable module version checking"
     150    default n
     151    depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
     152    help
     153      Support checking of versions for modules. This is used to
    20154      ensure that the kernel and module are made for each other.
    21155
     
    23157    bool "Add module symbols to kernel symbol table"
    24158    default n
    25     depends on INSMOD && FEATURE_2_4_MODULES
     159    depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
    26160    help
    27161      By adding module symbols to the kernel symbol table, Oops messages
    28       occuring within kernel modules can be properly debugged.  By enabling
     162      occuring within kernel modules can be properly debugged. By enabling
    29163      this feature, module symbols will always be added to the kernel symbol
    30       table for properly debugging support. If you are not interested in
     164      table for proper debugging support. If you are not interested in
    31165      Oops messages from kernel modules, say N.
    32166
     
    34168    bool "In kernel memory optimization (uClinux only)"
    35169    default n
    36     depends on INSMOD && FEATURE_2_4_MODULES
     170    depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
    37171    help
    38172      This is a special uClinux only memory optimization that lets insmod
     
    42176
    43177config FEATURE_INSMOD_LOAD_MAP
    44     bool "Enable load map (-m) option"
    45     default n
    46     depends on INSMOD && ( FEATURE_2_4_MODULES || FEATURE_2_6_MODULES )
     178    bool "Enable insmod load map (-m) option"
     179    default n
     180    depends on FEATURE_2_4_MODULES && INSMOD
    47181    help
    48182      Enabling this, one would be able to get a load map
     
    55189    bool "Symbols in load map"
    56190    default y
    57     depends on FEATURE_INSMOD_LOAD_MAP
     191    depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL
    58192    help
    59193      Without this option, -m will only output section
    60       load map.  With this option, -m will also output
     194      load map. With this option, -m will also output
    61195      symbols load map.
    62196
    63 config RMMOD
    64     bool "rmmod"
    65     default n
    66     help
    67       rmmod is used to unload specified modules from the kernel.
    68 
    69 config LSMOD
    70     bool "lsmod"
    71     default n
    72     help
    73       lsmod is used to display a list of loaded modules.
    74 
    75 config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
    76     bool "lsmod pretty output for 2.6.x Linux kernels "
    77     default n
    78     depends on LSMOD
    79     help
    80       This option makes output format of lsmod adjusted to
    81       the format of module-init-tools for Linux kernel 2.6.
    82 
    83 config MODPROBE
    84     bool "modprobe"
    85     default n
    86     help
    87       Handle the loading of modules, and their dependencies on a high
    88       level.
    89 
    90       Note that in the state, modprobe does not understand multiple
    91       module options from the configuration file. See option below.
    92 
    93 config FEATURE_MODPROBE_MULTIPLE_OPTIONS
    94     bool
    95     prompt "Multiple options parsing" if NITPICK
    96     default y
    97     depends on MODPROBE
    98     help
    99       Allow modprobe to understand more than one option to pass to
    100       modules.
    101 
    102       This is a WIP, while waiting for a common argument parsing
    103       common amongst all BB applets (shell, modprobe, etc...) and
    104       adds around 600 bytes on x86, 700 bytes on ARM. The code is
    105       biggish and uggly, but just works.
    106 
    107       Saying Y here is not a bad idea if you're not that short
    108       on storage capacity.
    109 
    110 config FEATURE_MODPROBE_FANCY_ALIAS
    111     bool
    112     prompt "Fancy alias parsing" if NITPICK
    113     default y
    114     depends on MODPROBE && FEATURE_2_6_MODULES
    115     help
    116       Say 'y' here to enable parsing of aliases with underscore/dash
    117       mismatch between module name and file name, along with bus-specific
    118       aliases (such as pci:... or usb:... aliases).
    119 
    120 comment "Options common to multiple modutils"
    121     depends on INSMOD || RMMOD || MODPROBE || LSMOD
    122 
    123197config FEATURE_CHECK_TAINTED_MODULE
    124     # Simulate indentation
    125198    bool "Support tainted module checking with new kernels"
    126199    default y
    127     depends on INSMOD || LSMOD
    128     help
    129       Support checking for tainted modules.  These are usually binary
     200    depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL
     201    help
     202      Support checking for tainted modules. These are usually binary
    130203      only modules that will make the linux-kernel list ignore your
    131204      support request.
    132205      This option is required to support GPLONLY modules.
    133206
    134 config FEATURE_2_4_MODULES
    135     # Simulate indentation
    136     bool "Support version 2.2.x to 2.4.x Linux kernels"
    137     default y
    138     depends on INSMOD || RMMOD || MODPROBE
    139     help
    140       Support module loading for 2.2.x and 2.4.x Linux kernels.
    141 
    142 config FEATURE_2_6_MODULES
    143     # Simulate indentation
    144     bool "Support version 2.6.x Linux kernels"
    145     default y
    146     depends on INSMOD || RMMOD || MODPROBE
    147     help
    148       Support module loading for newer 2.6.x Linux kernels.
    149 
    150 
    151 config FEATURE_QUERY_MODULE_INTERFACE
    152     bool
    153     default y
    154     depends on FEATURE_2_4_MODULES && !FEATURE_2_6_MODULES
    155 
     207config FEATURE_MODUTILS_ALIAS
     208    bool "Support for module.aliases file"
     209    default y
     210    depends on DEPMOD || MODPROBE
     211    help
     212      Generate and parse modules.alias containing aliases for bus
     213      identifiers:
     214        alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
     215
     216      and aliases for logical modules names e.g.:
     217        alias padlock_aes aes
     218        alias aes_i586 aes
     219        alias aes_generic aes
     220
     221      Say Y if unsure.
     222
     223config FEATURE_MODUTILS_SYMBOLS
     224    bool "Support for module.symbols file"
     225    default y
     226    depends on DEPMOD || MODPROBE
     227    help
     228      Generate and parse modules.symbols containing aliases for
     229      symbol_request() kernel calls, such as:
     230        alias symbol:usb_sg_init usbcore
     231
     232      Say Y if unsure.
     233
     234config DEFAULT_MODULES_DIR
     235    string "Default directory containing modules"
     236    default "/lib/modules"
     237    depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO
     238    help
     239      Directory that contains kernel modules.
     240      Defaults to "/lib/modules"
     241
     242config DEFAULT_DEPMOD_FILE
     243    string "Default name of modules.dep"
     244    default "modules.dep"
     245    depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO
     246    help
     247      Filename that contains kernel modules dependencies.
     248      Defaults to "modules.dep"
    156249
    157250endmenu
    158 
Note: See TracChangeset for help on using the changeset viewer.