config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Dec 19 13:00:51 2009 +0100 (2009-12-19)
changeset 1665 60a47ac6cae1
parent 1664 16076aee9424
child 1702 eff73d8f3ce2
permissions -rw-r--r--
kernel/linux: add latest versions
     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_32_2
    38     bool
    39     prompt "2.6.32.2"
    40 
    41 config KERNEL_V_2_6_32_1
    42     bool
    43     prompt "2.6.32.1"
    44 
    45 config KERNEL_V_2_6_32
    46     bool
    47     prompt "2.6.32"
    48 
    49 config KERNEL_V_2_6_31_9
    50     bool
    51     prompt "2.6.31.9"
    52 
    53 config KERNEL_V_2_6_31_8
    54     bool
    55     prompt "2.6.31.8"
    56 
    57 config KERNEL_V_2_6_31_7
    58     bool
    59     prompt "2.6.31.7"
    60 
    61 config KERNEL_V_2_6_31_6
    62     bool
    63     prompt "2.6.31.6"
    64 
    65 config KERNEL_V_2_6_31_5
    66     bool
    67     prompt "2.6.31.5"
    68 
    69 config KERNEL_V_2_6_31_4
    70     bool
    71     prompt "2.6.31.4"
    72 
    73 config KERNEL_V_2_6_31_3
    74     bool
    75     prompt "2.6.31.3"
    76 
    77 config KERNEL_V_2_6_31_2
    78     bool
    79     prompt "2.6.31.2"
    80 
    81 config KERNEL_V_2_6_31_1
    82     bool
    83     prompt "2.6.31.1"
    84 
    85 config KERNEL_V_2_6_31
    86     bool
    87     prompt "2.6.31"
    88 
    89 config KERNEL_V_2_6_30_10
    90     bool
    91     prompt "2.6.30.10"
    92 
    93 config KERNEL_V_2_6_30_9
    94     bool
    95     prompt "2.6.30.9"
    96 
    97 config KERNEL_V_2_6_30_8
    98     bool
    99     prompt "2.6.30.8"
   100 
   101 config KERNEL_V_2_6_30_7
   102     bool
   103     prompt "2.6.30.7"
   104 
   105 config KERNEL_V_2_6_30_6
   106     bool
   107     prompt "2.6.30.6"
   108 
   109 config KERNEL_V_2_6_30_5
   110     bool
   111     prompt "2.6.30.5"
   112 
   113 config KERNEL_V_2_6_30_4
   114     bool
   115     prompt "2.6.30.4"
   116 
   117 config KERNEL_V_2_6_30_3
   118     bool
   119     prompt "2.6.30.3"
   120 
   121 config KERNEL_V_2_6_30_2
   122     bool
   123     prompt "2.6.30.2"
   124 
   125 config KERNEL_V_2_6_30_1
   126     bool
   127     prompt "2.6.30.1"
   128 
   129 config KERNEL_V_2_6_30
   130     bool
   131     prompt "2.6.30"
   132 
   133 config KERNEL_V_2_6_29_6
   134     bool
   135     prompt "2.6.29.6 (OBSOLETE)"
   136     depends on OBSOLETE
   137 
   138 config KERNEL_V_2_6_28_10
   139     bool
   140     prompt "2.6.28.10 (OBSOLETE)"
   141     depends on OBSOLETE
   142 
   143 config KERNEL_V_2_6_27_42
   144     bool
   145     prompt "2.6.27.42 (long-term stable)"
   146 
   147 endchoice
   148 
   149 config KERNEL_VERSION
   150     string
   151 # Don't remove next line
   152 # CT_INSERT_VERSION_STRING_BELOW
   153     default "2.6.32.2" if KERNEL_V_2_6_32_2
   154     default "2.6.32.1" if KERNEL_V_2_6_32_1
   155     default "2.6.32" if KERNEL_V_2_6_32
   156     default "2.6.31.9" if KERNEL_V_2_6_31_9
   157     default "2.6.31.8" if KERNEL_V_2_6_31_8
   158     default "2.6.31.7" if KERNEL_V_2_6_31_7
   159     default "2.6.31.6" if KERNEL_V_2_6_31_6
   160     default "2.6.31.5" if KERNEL_V_2_6_31_5
   161     default "2.6.31.4" if KERNEL_V_2_6_31_4
   162     default "2.6.31.3" if KERNEL_V_2_6_31_3
   163     default "2.6.31.2" if KERNEL_V_2_6_31_2
   164     default "2.6.31.1" if KERNEL_V_2_6_31_1
   165     default "2.6.31" if KERNEL_V_2_6_31
   166     default "2.6.30.10" if KERNEL_V_2_6_30_10
   167     default "2.6.30.9" if KERNEL_V_2_6_30_9
   168     default "2.6.30.8" if KERNEL_V_2_6_30_8
   169     default "2.6.30.7" if KERNEL_V_2_6_30_7
   170     default "2.6.30.6" if KERNEL_V_2_6_30_6
   171     default "2.6.30.5" if KERNEL_V_2_6_30_5
   172     default "2.6.30.4" if KERNEL_V_2_6_30_4
   173     default "2.6.30.3" if KERNEL_V_2_6_30_3
   174     default "2.6.30.2" if KERNEL_V_2_6_30_2
   175     default "2.6.30.1" if KERNEL_V_2_6_30_1
   176     default "2.6.30" if KERNEL_V_2_6_30
   177     default "2.6.29.6" if KERNEL_V_2_6_29_6
   178     default "2.6.28.10" if KERNEL_V_2_6_28_10
   179     default "2.6.27.42" if KERNEL_V_2_6_27_42
   180 
   181 choice
   182     bool
   183     prompt "Kernel verbosity:"
   184     default KERNEL_LINUX_VERBOSITY_0
   185 
   186 config KERNEL_LINUX_VERBOSITY_0
   187     bool
   188     prompt "Simplified"
   189     help
   190       Print simplified command lines.
   191 
   192 config KERNEL_LINUX_VERBOSITY_1
   193     bool
   194     prompt "Full commands"
   195     help
   196       Print full command lines.
   197 
   198 config KERNEL_LINUX_VERBOSITY_2
   199     bool
   200     prompt "Exec reasons"
   201     help
   202       Print the reasons why a make target is rebuild.
   203 
   204 endchoice
   205 
   206 config KERNEL_LINUX_VERBOSE_LEVEL
   207     int
   208     default 0 if KERNEL_LINUX_VERBOSITY_0
   209     default 1 if KERNEL_LINUX_VERBOSITY_1
   210     default 2 if KERNEL_LINUX_VERBOSITY_2
   211 
   212 endif
   213 
   214 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   215     bool
   216     prompt "Use custom headers"
   217     help
   218       If you have some kernel headers lying around, you can enter the path
   219       below.
   220 
   221 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   222 
   223 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   224     bool
   225     prompt "This is a tarball"
   226     default n
   227     help
   228       If you say 'n' here, the path below is expected to point to a directory
   229       containing readily prepared headers
   230       
   231       If you say 'y' here, then the path below is expected to point to a
   232       tarball of such a directory.
   233       
   234       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   235       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   236       
   237       Now, passing a tarball around is easier than passing a directory, so
   238       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   239       say 'y' here, and enter the path to this tarball below.
   240 
   241 config KERNEL_LINUX_CUSTOM_PATH
   242     string
   243     prompt "Path to custom headers directory/tarball"
   244     help
   245       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   246 
   247 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   248 
   249 endchoice