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