config/kernel/linux.in
author Arnaud Lacombe <lacombar@gmail.com>
Mon Aug 02 21:06:13 2010 +0200 (2010-08-02)
changeset 2063 57d5da4e4d25
parent 2062 11348ef5f0ac
child 2104 975294cdc8f5
permissions -rw-r--r--
kernel/linux: : nuke old 2.6.33.[0-6]

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
     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
    30     bool
    31     prompt "2.6.35"
    32 
    33 config KERNEL_V_2_6_34_2
    34     bool
    35     prompt "2.6.34.2"
    36 
    37 config KERNEL_V_2_6_34_1
    38     bool
    39     prompt "2.6.34.1"
    40 
    41 config KERNEL_V_2_6_34
    42     bool
    43     prompt "2.6.34"
    44 
    45 config KERNEL_V_2_6_33_7
    46     bool
    47     prompt "2.6.33.7"
    48 
    49 config KERNEL_V_2_6_32_17
    50     bool
    51     prompt "2.6.32.17"
    52 
    53 config KERNEL_V_2_6_31_14
    54     bool
    55     prompt "2.6.31.14"
    56 
    57 config KERNEL_V_2_6_30_10
    58     bool
    59     prompt "2.6.30.10"
    60 
    61 config KERNEL_V_2_6_27_49
    62     bool
    63     prompt "2.6.27.49 (long-term stable)"
    64     help
    65       The Linux 2.6.27 tree is the current "long-term stable" maintenance branch.
    66       It is intended to fill the niche for users who are not using distribution
    67       kernels but want to use a regression-free kernel for a longer time.
    68       
    69       Critical bug fixes to later 2.6 releases are often ported to this branch
    70       which makes 2.6.27 a very useful base for many embedded developers seeking
    71       stable APIs or those who do not need the latest bleeding edge features.
    72       
    73       ... and no, this kernel has not undergone any specific QA testing.
    74       
    75       See the original announcement by Adrian Bunk in the following mailing list
    76       entry: http://marc.info/?l=linux-kernel&m=122375909403298&w=2
    77 
    78 config KERNEL_LINUX_CUSTOM
    79     bool
    80     prompt "custom tarball"
    81     help
    82       Use a local tarball of a complete kernel source tree.
    83 
    84 config KERNEL_LINUX_CUSTOM_TARBALL
    85     string
    86     prompt "Path to custom tarball"
    87     depends on KERNEL_LINUX_CUSTOM
    88     help
    89       Enter here the path to the tarball of your full kernel tree.
    90 
    91 endchoice
    92 
    93 config KERNEL_VERSION
    94     string
    95 # Don't remove next line
    96 # CT_INSERT_VERSION_STRING_BELOW
    97     default "2.6.35" if KERNEL_V_2_6_35
    98     default "2.6.34.2" if KERNEL_V_2_6_34_2
    99     default "2.6.34.1" if KERNEL_V_2_6_34_1
   100     default "2.6.34" if KERNEL_V_2_6_34
   101     default "2.6.33.7" if KERNEL_V_2_6_33_7
   102     default "2.6.32.17" if KERNEL_V_2_6_32_17
   103     default "2.6.31.14" if KERNEL_V_2_6_31_14
   104     default "2.6.30.10" if KERNEL_V_2_6_30_10
   105     default "2.6.27.49" if KERNEL_V_2_6_27_49
   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 config KERNEL_LINUX_INSTALL_CHECK
   139     bool
   140     prompt "Check installed headers"
   141     default y
   142     help
   143       If you are in doubt that installed headers are buggy, say 'Y'
   144       here to have an extra check passed onto the headers.
   145 
   146 endif # KERNEL_LINUX_INSTALL
   147 
   148 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   149     bool
   150     prompt "pre-installed headers tree"
   151     help
   152       If you have some pre-installed kernel headers lying around, you can
   153       enter the path to these headers, below, they will be copied from
   154       there, and into the toolchain's sysroot.
   155       
   156       Note:
   157       This will *not* let you use a complete kernel tree!
   158       If you want to use your own full kernel tree, then you want to
   159       say 'Y' to KERNEL_LINUX_INSTALL, above, and select KERNEL_LINUX_CUSTOM.
   160 
   161 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   162 
   163 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   164     bool
   165     prompt "This is a tarball"
   166     default n
   167     help
   168       If you say 'n' here, the path below is expected to point to a directory
   169       containing readily prepared headers
   170       
   171       If you say 'y' here, then the path below is expected to point to a
   172       tarball of such a directory.
   173       
   174       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   175       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   176       
   177       Now, passing a tarball around is easier than passing a directory, so
   178       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   179       say 'y' here, and enter the path to this tarball below.
   180 
   181 config KERNEL_LINUX_CUSTOM_PATH
   182     string
   183     prompt "Path to custom headers directory/tarball"
   184     help
   185       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   186 
   187 endif # KERNEL_LINUX_USE_CUSTOM_HEADERS
   188 
   189 endchoice