config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 13 18:38:06 2009 +0200 (2009-09-13)
changeset 1535 073d351bdcd3
parent 1534 d4ddf19a1968
child 1543 2cc7b9556b39
permissions -rw-r--r--
scripts: add new version at top of choice

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