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