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