config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 15 20:04:01 2010 +0200 (2010-06-15)
changeset 1989 f357bc3abfa6
parent 1974 444d434c658f
child 1990 c12158f27395
permissions -rw-r--r--
kernel/linux: reorder upstream/custom-tree handling
     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_34
    30     bool
    31     prompt "2.6.34"
    32 
    33 config KERNEL_V_2_6_33_5
    34     bool
    35     prompt "2.6.33.5"
    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_14
    58     bool
    59     prompt "2.6.32.14"
    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_47
    70     bool
    71     prompt "2.6.27.47 (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.34" if KERNEL_V_2_6_34
    93     default "2.6.33.5" if KERNEL_V_2_6_33_5
    94     default "2.6.33.4" if KERNEL_V_2_6_33_4
    95     default "2.6.33.3" if KERNEL_V_2_6_33_3
    96     default "2.6.33.2" if KERNEL_V_2_6_33_2
    97     default "2.6.33.1" if KERNEL_V_2_6_33_1
    98     default "2.6.33" if KERNEL_V_2_6_33
    99     default "2.6.32.14" if KERNEL_V_2_6_32_14
   100     default "2.6.31.13" if KERNEL_V_2_6_31_13
   101     default "2.6.30.10" if KERNEL_V_2_6_30_10
   102     default "2.6.27.47" if KERNEL_V_2_6_27_47
   103 
   104 choice
   105     bool
   106     prompt "Kernel verbosity:"
   107     default KERNEL_LINUX_VERBOSITY_0
   108 
   109 config KERNEL_LINUX_VERBOSITY_0
   110     bool
   111     prompt "Simplified"
   112     help
   113       Print simplified command lines.
   114 
   115 config KERNEL_LINUX_VERBOSITY_1
   116     bool
   117     prompt "Full commands"
   118     help
   119       Print full command lines.
   120 
   121 config KERNEL_LINUX_VERBOSITY_2
   122     bool
   123     prompt "Exec reasons"
   124     help
   125       Print the reasons why a make target is rebuild.
   126 
   127 endchoice
   128 
   129 config KERNEL_LINUX_VERBOSE_LEVEL
   130     int
   131     default 0 if KERNEL_LINUX_VERBOSITY_0
   132     default 1 if KERNEL_LINUX_VERBOSITY_1
   133     default 2 if KERNEL_LINUX_VERBOSITY_2
   134 
   135 config KERNEL_LINUX_INSTALL_CHECK
   136     bool
   137     prompt "Check installed headers"
   138     default y
   139     help
   140       If you are in doubt that installed headers are buggy, say 'Y'
   141       here to have an extra check passed onto the headers.
   142 
   143 endif # KERNEL_LINUX_INSTALL
   144 
   145 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   146     bool
   147     prompt "custom, and/or pre-installed, headers tree"
   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_HEADERS
   179 
   180 endchoice