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