config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 31 18:57:56 2010 +0200 (2010-08-31)
changeset 2105 0d4a72f421a0
parent 2104 975294cdc8f5
child 2135 ffef1f437106
permissions -rw-r--r--
kernel/linux: add latest versions

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 choice
    24     bool
    25     prompt "Linux kernel version"
    26 # Don't remove next line
    27 # CT_INSERT_VERSION_BELOW
    28 
    29 config KERNEL_V_2_6_35_4
    30     bool
    31     prompt "2.6.35.4"
    32 
    33 config KERNEL_V_2_6_35_3
    34     bool
    35     prompt "2.6.35.3"
    36 
    37 config KERNEL_V_2_6_35_2
    38     bool
    39     prompt "2.6.35.2"
    40 
    41 config KERNEL_V_2_6_35_1
    42     bool
    43     prompt "2.6.35.1"
    44 
    45 config KERNEL_V_2_6_35
    46     bool
    47     prompt "2.6.35"
    48 
    49 config KERNEL_V_2_6_34_6
    50     bool
    51     prompt "2.6.34.6"
    52 
    53 config KERNEL_V_2_6_33_7
    54     bool
    55     prompt "2.6.33.7"
    56 
    57 config KERNEL_V_2_6_32_21
    58     bool
    59     prompt "2.6.32.21"
    60 
    61 config KERNEL_V_2_6_31_14
    62     bool
    63     prompt "2.6.31.14"
    64 
    65 config KERNEL_V_2_6_27_53
    66     bool
    67     prompt "2.6.27.53 (long-term stable)"
    68     help
    69       The Linux 2.6.27 tree is the current "long-term stable" maintenance branch.
    70       It is intended to fill the niche for users who are not using distribution
    71       kernels but want to use a regression-free kernel for a longer time.
    72       
    73       Critical bug fixes to later 2.6 releases are often ported to this branch
    74       which makes 2.6.27 a very useful base for many embedded developers seeking
    75       stable APIs or those who do not need the latest bleeding edge features.
    76       
    77       ... and no, this kernel has not undergone any specific QA testing.
    78       
    79       See the original announcement by Adrian Bunk in the following mailing list
    80       entry: http://marc.info/?l=linux-kernel&m=122375909403298&w=2
    81 
    82 config KERNEL_LINUX_CUSTOM
    83     bool
    84     prompt "custom tarball"
    85     help
    86       Use a local tarball of a complete kernel source tree.
    87 
    88 config KERNEL_LINUX_CUSTOM_TARBALL
    89     string
    90     prompt "Path to custom tarball"
    91     depends on KERNEL_LINUX_CUSTOM
    92     help
    93       Enter here the path to the tarball of your full kernel tree.
    94 
    95 endchoice
    96 
    97 config KERNEL_VERSION
    98     string
    99 # Don't remove next line
   100 # CT_INSERT_VERSION_STRING_BELOW
   101     default "2.6.35.4" if KERNEL_V_2_6_35_4
   102     default "2.6.35.3" if KERNEL_V_2_6_35_3
   103     default "2.6.35.2" if KERNEL_V_2_6_35_2
   104     default "2.6.35.1" if KERNEL_V_2_6_35_1
   105     default "2.6.35" if KERNEL_V_2_6_35
   106     default "2.6.34.6" if KERNEL_V_2_6_34_6
   107     default "2.6.33.7" if KERNEL_V_2_6_33_7
   108     default "2.6.32.21" if KERNEL_V_2_6_32_21
   109     default "2.6.31.14" if KERNEL_V_2_6_31_14
   110     default "2.6.27.53" if KERNEL_V_2_6_27_53
   111 
   112 choice
   113     bool
   114     prompt "Kernel verbosity:"
   115     default KERNEL_LINUX_VERBOSITY_0
   116 
   117 config KERNEL_LINUX_VERBOSITY_0
   118     bool
   119     prompt "Simplified"
   120     help
   121       Print simplified command lines.
   122 
   123 config KERNEL_LINUX_VERBOSITY_1
   124     bool
   125     prompt "Full commands"
   126     help
   127       Print full command lines.
   128 
   129 config KERNEL_LINUX_VERBOSITY_2
   130     bool
   131     prompt "Exec reasons"
   132     help
   133       Print the reasons why a make target is rebuild.
   134 
   135 endchoice
   136 
   137 config KERNEL_LINUX_VERBOSE_LEVEL
   138     int
   139     default 0 if KERNEL_LINUX_VERBOSITY_0
   140     default 1 if KERNEL_LINUX_VERBOSITY_1
   141     default 2 if KERNEL_LINUX_VERBOSITY_2
   142 
   143 config KERNEL_LINUX_INSTALL_CHECK
   144     bool
   145     prompt "Check installed headers"
   146     default y
   147     help
   148       If you are in doubt that installed headers are buggy, say 'Y'
   149       here to have an extra check passed onto the headers.
   150 
   151 endif # KERNEL_LINUX_INSTALL
   152 
   153 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   154     bool
   155     prompt "pre-installed headers tree"
   156     help
   157       If you have some pre-installed kernel headers lying around, you can
   158       enter the path to these headers, below, they will be copied from
   159       there, and into the toolchain's sysroot.
   160       
   161       Note:
   162       This will *not* let you use a complete kernel tree!
   163       If you want to use your own full kernel tree, then you want to
   164       say 'Y' to KERNEL_LINUX_INSTALL, above, and select KERNEL_LINUX_CUSTOM.
   165 
   166 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   167 
   168 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   169     bool
   170     prompt "This is a tarball"
   171     default n
   172     help
   173       If you say 'n' here, the path below is expected to point to a directory
   174       containing readily prepared headers
   175       
   176       If you say 'y' here, then the path below is expected to point to a
   177       tarball of such a directory.
   178       
   179       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   180       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   181       
   182       Now, passing a tarball around is easier than passing a directory, so
   183       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   184       say 'y' here, and enter the path to this tarball below.
   185 
   186 config KERNEL_LINUX_CUSTOM_PATH
   187     string
   188     prompt "Path to custom headers directory/tarball"
   189     help
   190       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   191 
   192 endif # KERNEL_LINUX_USE_CUSTOM_HEADERS
   193 
   194 endchoice