config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 13 17:51:33 2009 +0200 (2009-09-13)
changeset 1534 d4ddf19a1968
parent 1526 b849649bc89d
child 1535 073d351bdcd3
permissions -rw-r--r--
config: re-order menu entries so that latest versions are at the top

It makes better sense to have latest versions at the top of the choice
entries.
     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 
    35 config KERNEL_V_2_6_31
    36     bool
    37     prompt "2.6.31"
    38 
    39 config KERNEL_V_2_6_30_6
    40     bool
    41     prompt "2.6.30.6"
    42 
    43 config KERNEL_V_2_6_30_5
    44     bool
    45     prompt "2.6.30.5"
    46 
    47 config KERNEL_V_2_6_30_4
    48     bool
    49     prompt "2.6.30.4"
    50 
    51 config KERNEL_V_2_6_30_3
    52     bool
    53     prompt "2.6.30.3"
    54 
    55 config KERNEL_V_2_6_30_2
    56     bool
    57     prompt "2.6.30.2"
    58 
    59 config KERNEL_V_2_6_30_1
    60     bool
    61     prompt "2.6.30.1"
    62 
    63 config KERNEL_V_2_6_30
    64     bool
    65     prompt "2.6.30"
    66 
    67 config KERNEL_V_2_6_29_6
    68     bool
    69     prompt "2.6.29.6"
    70 
    71 config KERNEL_V_2_6_29_5
    72     bool
    73     prompt "2.6.29.5"
    74 
    75 config KERNEL_V_2_6_29_4
    76     bool
    77     prompt "2.6.29.4"
    78 
    79 config KERNEL_V_2_6_29_3
    80     bool
    81     prompt "2.6.29.3"
    82 
    83 config KERNEL_V_2_6_29_2
    84     bool
    85     prompt "2.6.29.2"
    86 
    87 config KERNEL_V_2_6_29_1
    88     bool
    89     prompt "2.6.29.1"
    90 
    91 config KERNEL_V_2_6_29
    92     bool
    93     prompt "2.6.29"
    94 
    95 config KERNEL_V_2_6_28_10
    96     bool
    97     prompt "2.6.28.10"
    98 
    99 config KERNEL_V_2_6_27_33
   100     bool
   101     prompt "2.6.27.33 (long-term stable)"
   102 
   103 config KERNEL_V_2_6_26_8
   104     bool
   105     prompt "2.6.26.8 (OBSOLETE)"
   106     depends on OBSOLETE
   107 
   108 config KERNEL_V_2_6_25_20
   109     bool
   110     prompt "2.6.25.20 (OBSOLETE)"
   111     depends on OBSOLETE
   112 
   113 config KERNEL_V_2_6_24_7
   114     bool
   115     prompt "2.6.24.7 (OBSOLETE)"
   116     depends on OBSOLETE
   117 
   118 config KERNEL_V_2_6_23_17
   119     bool
   120     prompt "2.6.23.17 (OBSOLETE)"
   121     depends on OBSOLETE
   122 
   123 config KERNEL_V_2_6_22_19
   124     bool
   125     prompt "2.6.22.19 (OBSOLETE)"
   126     depends on OBSOLETE
   127 
   128 config KERNEL_V_2_6_21_7
   129     bool
   130     prompt "2.6.21.7 (OBSOLETE)"
   131     depends on OBSOLETE
   132 
   133 config KERNEL_V_2_6_20_21
   134     bool
   135     prompt "2.6.20.21 (OBSOLETE)"
   136     depends on OBSOLETE
   137 
   138 config KERNEL_V_2_6_19_7
   139     bool
   140     prompt "2.6.19.7 (OBSOLETE)"
   141     depends on OBSOLETE
   142 
   143 config KERNEL_V_2_6_18_8
   144     bool
   145     prompt "2.6.18.8 (OBSOLETE)"
   146     depends on OBSOLETE
   147 
   148 # CT_INSERT_VERSION_ABOVE
   149 # Don't remove above line!
   150 
   151 config KERNEL_V_select
   152     bool
   153     prompt "Other version (EXPERIMENTAL)"
   154     depends on EXPERIMENTAL
   155 
   156 endchoice
   157 
   158 config KERNEL_VERSION
   159     string
   160     prompt "Kernel version" if KERNEL_V_select
   161     default "2.6.31" if KERNEL_V_2_6_31
   162     default "2.6.30.6" if KERNEL_V_2_6_30_6
   163     default "2.6.30.5" if KERNEL_V_2_6_30_5
   164     default "2.6.30.4" if KERNEL_V_2_6_30_4
   165     default "2.6.30.3" if KERNEL_V_2_6_30_3
   166     default "2.6.30.2" if KERNEL_V_2_6_30_2
   167     default "2.6.30.1" if KERNEL_V_2_6_30_1
   168     default "2.6.30" if KERNEL_V_2_6_30
   169     default "2.6.29.6" if KERNEL_V_2_6_29_6
   170     default "2.6.29.5" if KERNEL_V_2_6_29_5
   171     default "2.6.29.4" if KERNEL_V_2_6_29_4
   172     default "2.6.29.3" if KERNEL_V_2_6_29_3
   173     default "2.6.29.2" if KERNEL_V_2_6_29_2
   174     default "2.6.29.1" if KERNEL_V_2_6_29_1
   175     default "2.6.29" if KERNEL_V_2_6_29
   176     default "2.6.28.10" if KERNEL_V_2_6_28_10
   177     default "2.6.27.33" if KERNEL_V_2_6_27_33
   178     default "2.6.26.8" if KERNEL_V_2_6_26_8
   179     default "2.6.25.20" if KERNEL_V_2_6_25_20
   180     default "2.6.24.7" if KERNEL_V_2_6_24_7
   181     default "2.6.23.17" if KERNEL_V_2_6_23_17
   182     default "2.6.22.19" if KERNEL_V_2_6_22_19
   183     default "2.6.21.7" if KERNEL_V_2_6_21_7
   184     default "2.6.20.21" if KERNEL_V_2_6_20_21
   185     default "2.6.19.7" if KERNEL_V_2_6_19_7
   186     default "2.6.18.8" if KERNEL_V_2_6_18_8
   187 # CT_INSERT_VERSION_STRING_ABOVE
   188 # Don't remove above line!
   189     help
   190       Enter here the kernel version you want to use, if it is
   191       not listed above. Something like V.P.S or V.P.S.E, where:
   192         V: VERSION
   193         P: PATCHLEVEL
   194         S: SUBLEVEL
   195         E: EXTRAVERSION
   196 
   197 choice
   198     bool
   199     prompt "Kernel verbosity:"
   200     default KERNEL_LINUX_VERBOSITY_0
   201 
   202 config KERNEL_LINUX_VERBOSITY_0
   203     bool
   204     prompt "Simplified"
   205     help
   206       Print simplified command lines.
   207 
   208 config KERNEL_LINUX_VERBOSITY_1
   209     bool
   210     prompt "Full commands"
   211     help
   212       Print full command lines.
   213 
   214 config KERNEL_LINUX_VERBOSITY_2
   215     bool
   216     prompt "Exec reasons"
   217     help
   218       Print the reasons why a make target is rebuild.
   219 
   220 endchoice
   221 
   222 config KERNEL_LINUX_VERBOSE_LEVEL
   223     int
   224     default 0 if KERNEL_LINUX_VERBOSITY_0
   225     default 1 if KERNEL_LINUX_VERBOSITY_1
   226     default 2 if KERNEL_LINUX_VERBOSITY_2
   227 
   228 endif
   229 
   230 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   231     bool
   232     prompt "Use custom headers"
   233     help
   234       If you have some kernel headers lying around, you can enter the path
   235       below.
   236 
   237 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   238 
   239 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   240     bool
   241     prompt "This is a tarball"
   242     default n
   243     help
   244       If you say 'n' here, the path below is expected to point to a directory
   245       containing readily prepared headers
   246       
   247       If you say 'y' here, then the path below is expected to point to a
   248       tarball of such a directory.
   249       
   250       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   251       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   252       
   253       Now, passing a tarball around is easier than passing a directory, so
   254       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   255       say 'y' here, and enter the path to this tarball below.
   256 
   257 config KERNEL_LINUX_CUSTOM_PATH
   258     string
   259     prompt "Path to custom headers directory/tarball"
   260     help
   261       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   262 
   263 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   264 
   265 endchoice