config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Oct 30 19:49:51 2009 +0100 (2009-10-30)
changeset 1618 7f52e1cca71e
parent 1610 0790e4bc8a79
child 1642 3a06556e9381
permissions -rw-r--r--
scripts: fix updating config.{sub,guess}
     1 # Linux kernel options
     2 
     3 # Linux kernel options
     4 
     5 config KERNEL_linux
     6     select KERNEL_SUPPORTS_SHARED_LIBS
     7     help
     8       Build a toolchain targeting systems running Linux as a kernel.
     9 
    10 choice
    11     bool
    12     prompt "Get kernel headers from:"
    13 
    14 config KERNEL_LINUX_INSTALL
    15     bool
    16     prompt "kernel's 'headers_install'"
    17     help
    18       This will make use of the new headers_install rule in recent kernels.
    19       This is most probably what you want to use.
    20 
    21 if KERNEL_LINUX_INSTALL
    22 
    23 config KERNEL_LINUX_INSTALL_CHECK
    24     bool
    25     prompt "Check installed headers"
    26     default y
    27     help
    28       If you are in doubt that installed headers are buggy, say 'Y'
    29       here to have an extra check passed onto the headers.
    30 
    31 choice
    32     bool
    33     prompt "Linux kernel version"
    34 # Don't remove next line
    35 # CT_INSERT_VERSION_BELOW
    36 
    37 config KERNEL_V_2_6_31_5
    38     bool
    39     prompt "2.6.31.5"
    40 
    41 config KERNEL_V_2_6_31_4
    42     bool
    43     prompt "2.6.31.4"
    44 
    45 config KERNEL_V_2_6_31_3
    46     bool
    47     prompt "2.6.31.3"
    48 
    49 config KERNEL_V_2_6_31_2
    50     bool
    51     prompt "2.6.31.2"
    52 
    53 config KERNEL_V_2_6_31_1
    54     bool
    55     prompt "2.6.31.1"
    56 
    57 config KERNEL_V_2_6_31
    58     bool
    59     prompt "2.6.31"
    60 
    61 config KERNEL_V_3_6_30_9
    62     bool
    63     prompt "3.6.30.9"
    64 
    65 config KERNEL_V_3_6_30_8
    66     bool
    67     prompt "3.6.30.8"
    68 
    69 config KERNEL_V_3_6_30_7
    70     bool
    71     prompt "3.6.30.7"
    72 
    73 config KERNEL_V_2_6_30_6
    74     bool
    75     prompt "2.6.30.6"
    76 
    77 config KERNEL_V_2_6_30_5
    78     bool
    79     prompt "2.6.30.5"
    80 
    81 config KERNEL_V_2_6_30_4
    82     bool
    83     prompt "2.6.30.4"
    84 
    85 config KERNEL_V_2_6_30_3
    86     bool
    87     prompt "2.6.30.3"
    88 
    89 config KERNEL_V_2_6_30_2
    90     bool
    91     prompt "2.6.30.2"
    92 
    93 config KERNEL_V_2_6_30_1
    94     bool
    95     prompt "2.6.30.1"
    96 
    97 config KERNEL_V_2_6_30
    98     bool
    99     prompt "2.6.30"
   100 
   101 config KERNEL_V_2_6_29_6
   102     bool
   103     prompt "2.6.29.6 (OBSOLETE)"
   104     depends on OBSOLETE
   105 
   106 config KERNEL_V_2_6_28_10
   107     bool
   108     prompt "2.6.28.10 (OBSOLETE)"
   109     depends on OBSOLETE
   110 
   111 config KERNEL_V_2_6_27_38
   112     bool
   113     prompt "2.6.27.38 (long-term stable)"
   114 
   115 endchoice
   116 
   117 config KERNEL_VERSION
   118     string
   119 # Don't remove next line
   120 # CT_INSERT_VERSION_STRING_BELOW
   121     default "2.6.31.5" if KERNEL_V_2_6_31_5
   122     default "2.6.31.4" if KERNEL_V_2_6_31_4
   123     default "2.6.31.3" if KERNEL_V_2_6_31_3
   124     default "2.6.31.2" if KERNEL_V_2_6_31_2
   125     default "2.6.31.1" if KERNEL_V_2_6_31_1
   126     default "2.6.31" if KERNEL_V_2_6_31
   127     default "3.6.30.9" if KERNEL_V_3_6_30_9
   128     default "3.6.30.8" if KERNEL_V_3_6_30_8
   129     default "3.6.30.7" if KERNEL_V_3_6_30_7
   130     default "2.6.30.6" if KERNEL_V_2_6_30_6
   131     default "2.6.30.5" if KERNEL_V_2_6_30_5
   132     default "2.6.30.4" if KERNEL_V_2_6_30_4
   133     default "2.6.30.3" if KERNEL_V_2_6_30_3
   134     default "2.6.30.2" if KERNEL_V_2_6_30_2
   135     default "2.6.30.1" if KERNEL_V_2_6_30_1
   136     default "2.6.30" if KERNEL_V_2_6_30
   137     default "2.6.29.6" if KERNEL_V_2_6_29_6
   138     default "2.6.28.10" if KERNEL_V_2_6_28_10
   139     default "2.6.27.38" if KERNEL_V_2_6_27_38
   140 
   141 choice
   142     bool
   143     prompt "Kernel verbosity:"
   144     default KERNEL_LINUX_VERBOSITY_0
   145 
   146 config KERNEL_LINUX_VERBOSITY_0
   147     bool
   148     prompt "Simplified"
   149     help
   150       Print simplified command lines.
   151 
   152 config KERNEL_LINUX_VERBOSITY_1
   153     bool
   154     prompt "Full commands"
   155     help
   156       Print full command lines.
   157 
   158 config KERNEL_LINUX_VERBOSITY_2
   159     bool
   160     prompt "Exec reasons"
   161     help
   162       Print the reasons why a make target is rebuild.
   163 
   164 endchoice
   165 
   166 config KERNEL_LINUX_VERBOSE_LEVEL
   167     int
   168     default 0 if KERNEL_LINUX_VERBOSITY_0
   169     default 1 if KERNEL_LINUX_VERBOSITY_1
   170     default 2 if KERNEL_LINUX_VERBOSITY_2
   171 
   172 endif
   173 
   174 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   175     bool
   176     prompt "Use custom headers"
   177     help
   178       If you have some kernel headers lying around, you can enter the path
   179       below.
   180 
   181 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   182 
   183 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   184     bool
   185     prompt "This is a tarball"
   186     default n
   187     help
   188       If you say 'n' here, the path below is expected to point to a directory
   189       containing readily prepared headers
   190       
   191       If you say 'y' here, then the path below is expected to point to a
   192       tarball of such a directory.
   193       
   194       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   195       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   196       
   197       Now, passing a tarball around is easier than passing a directory, so
   198       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   199       say 'y' here, and enter the path to this tarball below.
   200 
   201 config KERNEL_LINUX_CUSTOM_PATH
   202     string
   203     prompt "Path to custom headers directory/tarball"
   204     help
   205       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   206 
   207 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   208 
   209 endchoice