config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Feb 11 19:21:56 2010 +0100 (2010-02-11)
changeset 1802 cb9e664f758b
parent 1790 97303e1d5942
child 1818 533e48e6aa9e
permissions -rw-r--r--
kernel/linux: add latest 2.6.32.8
     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_8
    38     bool
    39     prompt "2.6.32.8"
    40 
    41 config KERNEL_V_2_6_32_7
    42     bool
    43     prompt "2.6.32.7"
    44 
    45 config KERNEL_V_2_6_32_6
    46     bool
    47     prompt "2.6.32.6"
    48 
    49 config KERNEL_V_2_6_32_5
    50     bool
    51     prompt "2.6.32.5"
    52 
    53 config KERNEL_V_2_6_32_4
    54     bool
    55     prompt "2.6.32.4"
    56 
    57 config KERNEL_V_2_6_32_3
    58     bool
    59     prompt "2.6.32.3"
    60 
    61 config KERNEL_V_2_6_32_2
    62     bool
    63     prompt "2.6.32.2"
    64 
    65 config KERNEL_V_2_6_32_1
    66     bool
    67     prompt "2.6.32.1"
    68 
    69 config KERNEL_V_2_6_32
    70     bool
    71     prompt "2.6.32"
    72 
    73 config KERNEL_V_2_6_31_12
    74     bool
    75     prompt "2.6.31.12"
    76 
    77 config KERNEL_V_2_6_30_10
    78     bool
    79     prompt "2.6.30.10"
    80 
    81 config KERNEL_V_2_6_29_6
    82     bool
    83     prompt "2.6.29.6 (OBSOLETE)"
    84     depends on OBSOLETE
    85 
    86 config KERNEL_V_2_6_28_10
    87     bool
    88     prompt "2.6.28.10 (OBSOLETE)"
    89     depends on OBSOLETE
    90 
    91 config KERNEL_V_2_6_27_45
    92     bool
    93     prompt "2.6.27.45 (long-term stable)"
    94     help
    95       The Linux 2.6.27 tree is the current "long-term stable" maintenance branch.
    96       It is intended to fill the niche for users who are not using distribution
    97       kernels but want to use a regression-free kernel for a longer time.
    98       
    99       Critical bug fixes to later 2.6 releases are often ported to this branch
   100       which makes 2.6.27 a very useful base for many embedded developers seeking
   101       stable APIs or those who do not need the latest bleeding edge features.
   102       
   103       ... and no, this kernel has not undergone any specific QA testing.
   104       
   105       See the original announcement by Adrian Bunk in the following mailing list
   106       entry: http://marc.info/?l=linux-kernel&m=122375909403298&w=2
   107 
   108 endchoice
   109 
   110 config KERNEL_VERSION
   111     string
   112 # Don't remove next line
   113 # CT_INSERT_VERSION_STRING_BELOW
   114     default "2.6.32.8" if KERNEL_V_2_6_32_8
   115     default "2.6.32.7" if KERNEL_V_2_6_32_7
   116     default "2.6.32.6" if KERNEL_V_2_6_32_6
   117     default "2.6.32.5" if KERNEL_V_2_6_32_5
   118     default "2.6.32.4" if KERNEL_V_2_6_32_4
   119     default "2.6.32.3" if KERNEL_V_2_6_32_3
   120     default "2.6.32.2" if KERNEL_V_2_6_32_2
   121     default "2.6.32.1" if KERNEL_V_2_6_32_1
   122     default "2.6.32" if KERNEL_V_2_6_32
   123     default "2.6.31.12" if KERNEL_V_2_6_31_12
   124     default "2.6.30.10" if KERNEL_V_2_6_30_10
   125     default "2.6.29.6" if KERNEL_V_2_6_29_6
   126     default "2.6.28.10" if KERNEL_V_2_6_28_10
   127     default "2.6.27.45" if KERNEL_V_2_6_27_45
   128 
   129 choice
   130     bool
   131     prompt "Kernel verbosity:"
   132     default KERNEL_LINUX_VERBOSITY_0
   133 
   134 config KERNEL_LINUX_VERBOSITY_0
   135     bool
   136     prompt "Simplified"
   137     help
   138       Print simplified command lines.
   139 
   140 config KERNEL_LINUX_VERBOSITY_1
   141     bool
   142     prompt "Full commands"
   143     help
   144       Print full command lines.
   145 
   146 config KERNEL_LINUX_VERBOSITY_2
   147     bool
   148     prompt "Exec reasons"
   149     help
   150       Print the reasons why a make target is rebuild.
   151 
   152 endchoice
   153 
   154 config KERNEL_LINUX_VERBOSE_LEVEL
   155     int
   156     default 0 if KERNEL_LINUX_VERBOSITY_0
   157     default 1 if KERNEL_LINUX_VERBOSITY_1
   158     default 2 if KERNEL_LINUX_VERBOSITY_2
   159 
   160 endif
   161 
   162 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   163     bool
   164     prompt "Use custom headers"
   165     help
   166       If you have some kernel headers lying around, you can enter the path
   167       below.
   168 
   169 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   170 
   171 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   172     bool
   173     prompt "This is a tarball"
   174     default n
   175     help
   176       If you say 'n' here, the path below is expected to point to a directory
   177       containing readily prepared headers
   178       
   179       If you say 'y' here, then the path below is expected to point to a
   180       tarball of such a directory.
   181       
   182       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   183       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   184       
   185       Now, passing a tarball around is easier than passing a directory, so
   186       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   187       say 'y' here, and enter the path to this tarball below.
   188 
   189 config KERNEL_LINUX_CUSTOM_PATH
   190     string
   191     prompt "Path to custom headers directory/tarball"
   192     help
   193       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   194 
   195 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   196 
   197 endchoice