config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 19 17:05:42 2009 +0200 (2009-08-19)
changeset 1473 5377799f236e
parent 1472 96d73cd56e6c
child 1500 f1ee20bc057e
permissions -rw-r--r--
config: add Linux kernel 2.6.30.5
     1 # Linux kernel options
     2 
     3 # Linux kernel options
     4 
     5 config KERNEL_linux
     6     help
     7       Build a toolchain targeting systems running Linux as a kernel.
     8 
     9 choice
    10     bool
    11     prompt "Get kernel headers from:"
    12 
    13 config KERNEL_LINUX_INSTALL
    14     bool
    15     prompt "kernel's 'headers_install'"
    16     help
    17       This will make use of the new headers_install rule in recent kernels.
    18       This is most probably what you want to use.
    19 
    20 if KERNEL_LINUX_INSTALL
    21 
    22 config KERNEL_LINUX_INSTALL_CHECK
    23     bool
    24     prompt "Check installed headers"
    25     default y
    26     help
    27       If you are in doubt that installed headers are buggy, say 'Y'
    28       here to have an extra check passed onto the headers.
    29 
    30 choice
    31     bool
    32     prompt "Linux kernel version"
    33 
    34 config KERNEL_V_2_6_18_8
    35     bool
    36     prompt "2.6.18.8 (OBSOLETE)"
    37     depends on OBSOLETE
    38 
    39 config KERNEL_V_2_6_19_7
    40     bool
    41     prompt "2.6.19.7 (OBSOLETE)"
    42     depends on OBSOLETE
    43 
    44 config KERNEL_V_2_6_20_21
    45     bool
    46     prompt "2.6.20.21 (OBSOLETE)"
    47     depends on OBSOLETE
    48 
    49 config KERNEL_V_2_6_21_7
    50     bool
    51     prompt "2.6.21.7 (OBSOLETE)"
    52     depends on OBSOLETE
    53 
    54 config KERNEL_V_2_6_22_19
    55     bool
    56     prompt "2.6.22.19 (OBSOLETE)"
    57     depends on OBSOLETE
    58 
    59 config KERNEL_V_2_6_23_17
    60     bool
    61     prompt "2.6.23.17 (OBSOLETE)"
    62     depends on OBSOLETE
    63 
    64 config KERNEL_V_2_6_24_7
    65     bool
    66     prompt "2.6.24.7 (OBSOLETE)"
    67     depends on OBSOLETE
    68 
    69 config KERNEL_V_2_6_25_20
    70     bool
    71     prompt "2.6.25.20 (OBSOLETE)"
    72     depends on OBSOLETE
    73 
    74 config KERNEL_V_2_6_26_8
    75     bool
    76     prompt "2.6.26.8 (OBSOLETE)"
    77     depends on OBSOLETE
    78 
    79 config KERNEL_V_2_6_27_31
    80     bool
    81     prompt "2.6.27.31 (long-term stable)"
    82 
    83 config KERNEL_V_2_6_28_10
    84     bool
    85     prompt "2.6.28.10"
    86 
    87 config KERNEL_V_2_6_29
    88     bool
    89     prompt "2.6.29"
    90 
    91 config KERNEL_V_2_6_29_1
    92     bool
    93     prompt "2.6.29.1"
    94 
    95 config KERNEL_V_2_6_29_2
    96     bool
    97     prompt "2.6.29.2"
    98 
    99 config KERNEL_V_2_6_29_3
   100     bool
   101     prompt "2.6.29.3"
   102 
   103 config KERNEL_V_2_6_29_4
   104     bool
   105     prompt "2.6.29.4"
   106 
   107 config KERNEL_V_2_6_29_5
   108     bool
   109     prompt "2.6.29.5"
   110 
   111 config KERNEL_V_2_6_29_6
   112     bool
   113     prompt "2.6.29.6"
   114 
   115 config KERNEL_V_2_6_30
   116     bool
   117     prompt "2.6.30"
   118 
   119 config KERNEL_V_2_6_30_1
   120     bool
   121     prompt "2.6.30.1"
   122 
   123 config KERNEL_V_2_6_30_2
   124     bool
   125     prompt "2.6.30.2"
   126 
   127 config KERNEL_V_2_6_30_3
   128     bool
   129     prompt "2.6.30.3"
   130 
   131 config KERNEL_V_2_6_30_4
   132     bool
   133     prompt "2.6.30.4"
   134 
   135 config KERNEL_V_2_6_30_5
   136     bool
   137     prompt "2.6.30.5"
   138 
   139 # CT_INSERT_VERSION_ABOVE
   140 # Don't remove above line!
   141 
   142 config KERNEL_V_select
   143     bool
   144     prompt "Other version (EXPERIMENTAL)"
   145     depends on EXPERIMENTAL
   146 
   147 endchoice
   148 
   149 config KERNEL_VERSION
   150     string
   151     prompt "Kernel version" if KERNEL_V_select
   152     default "2.6.18.8" if KERNEL_V_2_6_18_8
   153     default "2.6.19.7" if KERNEL_V_2_6_19_7
   154     default "2.6.20.21" if KERNEL_V_2_6_20_21
   155     default "2.6.21.7" if KERNEL_V_2_6_21_7
   156     default "2.6.22.19" if KERNEL_V_2_6_22_19
   157     default "2.6.23.17" if KERNEL_V_2_6_23_17
   158     default "2.6.24.7" if KERNEL_V_2_6_24_7
   159     default "2.6.25.20" if KERNEL_V_2_6_25_20
   160     default "2.6.26.8" if KERNEL_V_2_6_26_8
   161     default "2.6.27.31" if KERNEL_V_2_6_27_31
   162     default "2.6.28.10" if KERNEL_V_2_6_28_10
   163     default "2.6.29" if KERNEL_V_2_6_29
   164     default "2.6.29.1" if KERNEL_V_2_6_29_1
   165     default "2.6.29.2" if KERNEL_V_2_6_29_2
   166     default "2.6.29.3" if KERNEL_V_2_6_29_3
   167     default "2.6.29.4" if KERNEL_V_2_6_29_4
   168     default "2.6.29.5" if KERNEL_V_2_6_29_5
   169     default "2.6.29.6" if KERNEL_V_2_6_29_6
   170     default "2.6.30" if KERNEL_V_2_6_30
   171     default "2.6.30.1" if KERNEL_V_2_6_30_1
   172     default "2.6.30.2" if KERNEL_V_2_6_30_2
   173     default "2.6.30.3" if KERNEL_V_2_6_30_3
   174     default "2.6.30.4" if KERNEL_V_2_6_30_4
   175     default "2.6.30.5" if KERNEL_V_2_6_30_5
   176 # CT_INSERT_VERSION_STRING_ABOVE
   177 # Don't remove above line!
   178     help
   179       Enter here the kernel version you want to use, if it is
   180       not listed above. Something like V.P.S or V.P.S.E, where:
   181         V: VERSION
   182         P: PATCHLEVEL
   183         S: SUBLEVEL
   184         E: EXTRAVERSION
   185 
   186 choice
   187     bool
   188     prompt "Kernel verbosity:"
   189     default KERNEL_LINUX_VERBOSITY_0
   190 
   191 config KERNEL_LINUX_VERBOSITY_0
   192     bool
   193     prompt "Simplified"
   194     help
   195       Print simplified command lines.
   196 
   197 config KERNEL_LINUX_VERBOSITY_1
   198     bool
   199     prompt "Full commands"
   200     help
   201       Print full command lines.
   202 
   203 config KERNEL_LINUX_VERBOSITY_2
   204     bool
   205     prompt "Exec reasons"
   206     help
   207       Print the reasons why a make target is rebuild.
   208 
   209 endchoice
   210 
   211 config KERNEL_LINUX_VERBOSE_LEVEL
   212     int
   213     default 0 if KERNEL_LINUX_VERBOSITY_0
   214     default 1 if KERNEL_LINUX_VERBOSITY_1
   215     default 2 if KERNEL_LINUX_VERBOSITY_2
   216 
   217 endif
   218 
   219 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   220     bool
   221     prompt "Use custom headers"
   222     help
   223       If you have some kernel headers lying around, you can enter the path
   224       below.
   225 
   226 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   227 
   228 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   229     bool
   230     prompt "This is a tarball"
   231     default n
   232     help
   233       If you say 'n' here, the path below is expected to point to a directory
   234       containing readily prepared headers
   235       
   236       If you say 'y' here, then the path below is expected to point to a
   237       tarball of such a directory.
   238       
   239       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   240       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   241       
   242       Now, passing a tarball around is easier than passing a directory, so
   243       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   244       say 'y' here, and enter the path to this tarball below.
   245 
   246 config KERNEL_LINUX_CUSTOM_PATH
   247     string
   248     prompt "Path to custom headers directory/tarball"
   249     help
   250       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   251 
   252 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   253 
   254 endchoice