config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 27 10:36:03 2010 +0200 (2010-05-27)
changeset 1974 444d434c658f
parent 1952 f3c30069f86e
child 1989 f357bc3abfa6
permissions -rw-r--r--
kernel/linux: update to latest versions
     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_5
    42     bool
    43     prompt "2.6.33.5"
    44 
    45 config KERNEL_V_2_6_33_4
    46     bool
    47     prompt "2.6.33.4"
    48 
    49 config KERNEL_V_2_6_33_3
    50     bool
    51     prompt "2.6.33.3"
    52 
    53 config KERNEL_V_2_6_33_2
    54     bool
    55     prompt "2.6.33.2"
    56 
    57 config KERNEL_V_2_6_33_1
    58     bool
    59     prompt "2.6.33.1"
    60 
    61 config KERNEL_V_2_6_33
    62     bool
    63     prompt "2.6.33"
    64 
    65 config KERNEL_V_2_6_32_14
    66     bool
    67     prompt "2.6.32.14"
    68 
    69 config KERNEL_V_2_6_31_13
    70     bool
    71     prompt "2.6.31.13"
    72 
    73 config KERNEL_V_2_6_30_10
    74     bool
    75     prompt "2.6.30.10"
    76 
    77 config KERNEL_V_2_6_27_47
    78     bool
    79     prompt "2.6.27.47 (long-term stable)"
    80     help
    81       The Linux 2.6.27 tree is the current "long-term stable" maintenance branch.
    82       It is intended to fill the niche for users who are not using distribution
    83       kernels but want to use a regression-free kernel for a longer time.
    84       
    85       Critical bug fixes to later 2.6 releases are often ported to this branch
    86       which makes 2.6.27 a very useful base for many embedded developers seeking
    87       stable APIs or those who do not need the latest bleeding edge features.
    88       
    89       ... and no, this kernel has not undergone any specific QA testing.
    90       
    91       See the original announcement by Adrian Bunk in the following mailing list
    92       entry: http://marc.info/?l=linux-kernel&m=122375909403298&w=2
    93 
    94 endchoice
    95 
    96 config KERNEL_VERSION
    97     string
    98 # Don't remove next line
    99 # CT_INSERT_VERSION_STRING_BELOW
   100     default "2.6.34" if KERNEL_V_2_6_34
   101     default "2.6.33.5" if KERNEL_V_2_6_33_5
   102     default "2.6.33.4" if KERNEL_V_2_6_33_4
   103     default "2.6.33.3" if KERNEL_V_2_6_33_3
   104     default "2.6.33.2" if KERNEL_V_2_6_33_2
   105     default "2.6.33.1" if KERNEL_V_2_6_33_1
   106     default "2.6.33" if KERNEL_V_2_6_33
   107     default "2.6.32.14" if KERNEL_V_2_6_32_14
   108     default "2.6.31.13" if KERNEL_V_2_6_31_13
   109     default "2.6.30.10" if KERNEL_V_2_6_30_10
   110     default "2.6.27.47" if KERNEL_V_2_6_27_47
   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 endif
   144 
   145 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   146     bool
   147     prompt "Use custom headers"
   148     help
   149       If you have some kernel headers lying around, you can enter the path
   150       below.
   151 
   152 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   153 
   154 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   155     bool
   156     prompt "This is a tarball"
   157     default n
   158     help
   159       If you say 'n' here, the path below is expected to point to a directory
   160       containing readily prepared headers
   161       
   162       If you say 'y' here, then the path below is expected to point to a
   163       tarball of such a directory.
   164       
   165       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   166       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   167       
   168       Now, passing a tarball around is easier than passing a directory, so
   169       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   170       say 'y' here, and enter the path to this tarball below.
   171 
   172 config KERNEL_LINUX_CUSTOM_PATH
   173     string
   174     prompt "Path to custom headers directory/tarball"
   175     help
   176       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   177 
   178 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   179 
   180 endchoice