config/kernel/linux.in
author Joachim Nilsson <jocke@vmlinux.org>
Thu Jan 07 19:28:28 2010 +0100 (2010-01-07)
changeset 1702 eff73d8f3ce2
parent 1665 60a47ac6cae1
child 1790 97303e1d5942
permissions -rw-r--r--
kernel/linux: add support for latest versions

This patch adds support for the latest Linux 2.6.32.3 kernel.

Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
[yann.morin.1998@anciens.enib.fr: keep only one long-term stable]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     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_3
    38     bool
    39     prompt "2.6.32.3"
    40 
    41 config KERNEL_V_2_6_32_2
    42     bool
    43     prompt "2.6.32.2"
    44 
    45 config KERNEL_V_2_6_32_1
    46     bool
    47     prompt "2.6.32.1"
    48 
    49 config KERNEL_V_2_6_32
    50     bool
    51     prompt "2.6.32"
    52 
    53 config KERNEL_V_2_6_31_11
    54     bool
    55     prompt "2.6.31.11"
    56 
    57 config KERNEL_V_2_6_31_9
    58     bool
    59     prompt "2.6.31.9"
    60 
    61 config KERNEL_V_2_6_31_8
    62     bool
    63     prompt "2.6.31.8"
    64 
    65 config KERNEL_V_2_6_31_7
    66     bool
    67     prompt "2.6.31.7"
    68 
    69 config KERNEL_V_2_6_31_6
    70     bool
    71     prompt "2.6.31.6"
    72 
    73 config KERNEL_V_2_6_31_5
    74     bool
    75     prompt "2.6.31.5"
    76 
    77 config KERNEL_V_2_6_31_4
    78     bool
    79     prompt "2.6.31.4"
    80 
    81 config KERNEL_V_2_6_31_3
    82     bool
    83     prompt "2.6.31.3"
    84 
    85 config KERNEL_V_2_6_31_2
    86     bool
    87     prompt "2.6.31.2"
    88 
    89 config KERNEL_V_2_6_31_1
    90     bool
    91     prompt "2.6.31.1"
    92 
    93 config KERNEL_V_2_6_31
    94     bool
    95     prompt "2.6.31"
    96 
    97 config KERNEL_V_2_6_30_10
    98     bool
    99     prompt "2.6.30.10"
   100 
   101 config KERNEL_V_2_6_30_9
   102     bool
   103     prompt "2.6.30.9"
   104 
   105 config KERNEL_V_2_6_30_8
   106     bool
   107     prompt "2.6.30.8"
   108 
   109 config KERNEL_V_2_6_30_7
   110     bool
   111     prompt "2.6.30.7"
   112 
   113 config KERNEL_V_2_6_30_6
   114     bool
   115     prompt "2.6.30.6"
   116 
   117 config KERNEL_V_2_6_30_5
   118     bool
   119     prompt "2.6.30.5"
   120 
   121 config KERNEL_V_2_6_30_4
   122     bool
   123     prompt "2.6.30.4"
   124 
   125 config KERNEL_V_2_6_30_3
   126     bool
   127     prompt "2.6.30.3"
   128 
   129 config KERNEL_V_2_6_30_2
   130     bool
   131     prompt "2.6.30.2"
   132 
   133 config KERNEL_V_2_6_30_1
   134     bool
   135     prompt "2.6.30.1"
   136 
   137 config KERNEL_V_2_6_30
   138     bool
   139     prompt "2.6.30"
   140 
   141 config KERNEL_V_2_6_29_6
   142     bool
   143     prompt "2.6.29.6 (OBSOLETE)"
   144     depends on OBSOLETE
   145 
   146 config KERNEL_V_2_6_28_10
   147     bool
   148     prompt "2.6.28.10 (OBSOLETE)"
   149     depends on OBSOLETE
   150 
   151 config KERNEL_V_2_6_27_43
   152     bool
   153     prompt "2.6.27.43 (long-term stable)"
   154     help
   155       The Linux 2.6.27 tree is the current "long-term stable" maintenance branch.
   156       It is intended to fill the niche for users who are not using distribution
   157       kernels but want to use a regression-free kernel for a longer time.
   158       
   159       Critical bug fixes to later 2.6 releases are often ported to this branch
   160       which makes 2.6.27 a very useful base for many embedded developers seeking
   161       stable APIs or those who do not need the latest bleeding edge features.
   162       
   163       ... and no, this kernel has not undergone any specific QA testing.
   164       
   165       See the original announcement by Adrian Bunk in the following mailing list
   166       entry: http://marc.info/?l=linux-kernel&m=122375909403298&w=2
   167 
   168 endchoice
   169 
   170 config KERNEL_VERSION
   171     string
   172 # Don't remove next line
   173 # CT_INSERT_VERSION_STRING_BELOW
   174     default "2.6.32.3" if KERNEL_V_2_6_32_3
   175     default "2.6.32.2" if KERNEL_V_2_6_32_2
   176     default "2.6.32.1" if KERNEL_V_2_6_32_1
   177     default "2.6.32" if KERNEL_V_2_6_32
   178     default "2.6.31.11" if KERNEL_V_2_6_31_11
   179     default "2.6.31.9" if KERNEL_V_2_6_31_9
   180     default "2.6.31.8" if KERNEL_V_2_6_31_8
   181     default "2.6.31.7" if KERNEL_V_2_6_31_7
   182     default "2.6.31.6" if KERNEL_V_2_6_31_6
   183     default "2.6.31.5" if KERNEL_V_2_6_31_5
   184     default "2.6.31.4" if KERNEL_V_2_6_31_4
   185     default "2.6.31.3" if KERNEL_V_2_6_31_3
   186     default "2.6.31.2" if KERNEL_V_2_6_31_2
   187     default "2.6.31.1" if KERNEL_V_2_6_31_1
   188     default "2.6.31" if KERNEL_V_2_6_31
   189     default "2.6.30.10" if KERNEL_V_2_6_30_10
   190     default "2.6.30.9" if KERNEL_V_2_6_30_9
   191     default "2.6.30.8" if KERNEL_V_2_6_30_8
   192     default "2.6.30.7" if KERNEL_V_2_6_30_7
   193     default "2.6.30.6" if KERNEL_V_2_6_30_6
   194     default "2.6.30.5" if KERNEL_V_2_6_30_5
   195     default "2.6.30.4" if KERNEL_V_2_6_30_4
   196     default "2.6.30.3" if KERNEL_V_2_6_30_3
   197     default "2.6.30.2" if KERNEL_V_2_6_30_2
   198     default "2.6.30.1" if KERNEL_V_2_6_30_1
   199     default "2.6.30" if KERNEL_V_2_6_30
   200     default "2.6.29.6" if KERNEL_V_2_6_29_6
   201     default "2.6.28.10" if KERNEL_V_2_6_28_10
   202     default "2.6.27.43" if KERNEL_V_2_6_27_43
   203 
   204 choice
   205     bool
   206     prompt "Kernel verbosity:"
   207     default KERNEL_LINUX_VERBOSITY_0
   208 
   209 config KERNEL_LINUX_VERBOSITY_0
   210     bool
   211     prompt "Simplified"
   212     help
   213       Print simplified command lines.
   214 
   215 config KERNEL_LINUX_VERBOSITY_1
   216     bool
   217     prompt "Full commands"
   218     help
   219       Print full command lines.
   220 
   221 config KERNEL_LINUX_VERBOSITY_2
   222     bool
   223     prompt "Exec reasons"
   224     help
   225       Print the reasons why a make target is rebuild.
   226 
   227 endchoice
   228 
   229 config KERNEL_LINUX_VERBOSE_LEVEL
   230     int
   231     default 0 if KERNEL_LINUX_VERBOSITY_0
   232     default 1 if KERNEL_LINUX_VERBOSITY_1
   233     default 2 if KERNEL_LINUX_VERBOSITY_2
   234 
   235 endif
   236 
   237 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   238     bool
   239     prompt "Use custom headers"
   240     help
   241       If you have some kernel headers lying around, you can enter the path
   242       below.
   243 
   244 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   245 
   246 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   247     bool
   248     prompt "This is a tarball"
   249     default n
   250     help
   251       If you say 'n' here, the path below is expected to point to a directory
   252       containing readily prepared headers
   253       
   254       If you say 'y' here, then the path below is expected to point to a
   255       tarball of such a directory.
   256       
   257       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   258       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   259       
   260       Now, passing a tarball around is easier than passing a directory, so
   261       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   262       say 'y' here, and enter the path to this tarball below.
   263 
   264 config KERNEL_LINUX_CUSTOM_PATH
   265     string
   266     prompt "Path to custom headers directory/tarball"
   267     help
   268       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   269 
   270 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   271 
   272 endchoice