config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 27 18:49:15 2009 +0100 (2009-10-27)
changeset 1610 0790e4bc8a79
parent 1606 859af0f9d110
child 1615 50b25816f5bb
permissions -rw-r--r--
kernel/linux: add 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_31_5
    38     bool
    39     prompt "2.6.31.5"
    40 
    41 config KERNEL_V_2_6_31_4
    42     bool
    43     prompt "2.6.31.4"
    44 
    45 config KERNEL_V_2_6_31_3
    46     bool
    47     prompt "2.6.31.3"
    48 
    49 config KERNEL_V_2_6_31_2
    50     bool
    51     prompt "2.6.31.2"
    52 
    53 config KERNEL_V_2_6_31_1
    54     bool
    55     prompt "2.6.31.1"
    56 
    57 config KERNEL_V_2_6_31
    58     bool
    59     prompt "2.6.31"
    60 
    61 config KERNEL_V_3_6_30_9
    62     bool
    63     prompt "3.6.30.9"
    64 
    65 config KERNEL_V_3_6_30_8
    66     bool
    67     prompt "3.6.30.8"
    68 
    69 config KERNEL_V_3_6_30_7
    70     bool
    71     prompt "3.6.30.7"
    72 
    73 config KERNEL_V_2_6_30_6
    74     bool
    75     prompt "2.6.30.6"
    76 
    77 config KERNEL_V_2_6_30_5
    78     bool
    79     prompt "2.6.30.5"
    80 
    81 config KERNEL_V_2_6_30_4
    82     bool
    83     prompt "2.6.30.4"
    84 
    85 config KERNEL_V_2_6_30_3
    86     bool
    87     prompt "2.6.30.3"
    88 
    89 config KERNEL_V_2_6_30_2
    90     bool
    91     prompt "2.6.30.2"
    92 
    93 config KERNEL_V_2_6_30_1
    94     bool
    95     prompt "2.6.30.1"
    96 
    97 config KERNEL_V_2_6_30
    98     bool
    99     prompt "2.6.30"
   100 
   101 config KERNEL_V_2_6_29_6
   102     bool
   103     prompt "2.6.29.6"
   104 
   105 config KERNEL_V_2_6_28_10
   106     bool
   107     prompt "2.6.28.10"
   108 
   109 config KERNEL_V_2_6_27_38
   110     bool
   111     prompt "2.6.27.38 (long-term stable)"
   112 
   113 endchoice
   114 
   115 config KERNEL_VERSION
   116     string
   117 # Don't remove next line
   118 # CT_INSERT_VERSION_STRING_BELOW
   119     default "2.6.31.5" if KERNEL_V_2_6_31_5
   120     default "2.6.31.4" if KERNEL_V_2_6_31_4
   121     default "2.6.31.3" if KERNEL_V_2_6_31_3
   122     default "2.6.31.2" if KERNEL_V_2_6_31_2
   123     default "2.6.31.1" if KERNEL_V_2_6_31_1
   124     default "2.6.31" if KERNEL_V_2_6_31
   125     default "3.6.30.9" if KERNEL_V_3_6_30_9
   126     default "3.6.30.8" if KERNEL_V_3_6_30_8
   127     default "3.6.30.7" if KERNEL_V_3_6_30_7
   128     default "2.6.30.6" if KERNEL_V_2_6_30_6
   129     default "2.6.30.5" if KERNEL_V_2_6_30_5
   130     default "2.6.30.4" if KERNEL_V_2_6_30_4
   131     default "2.6.30.3" if KERNEL_V_2_6_30_3
   132     default "2.6.30.2" if KERNEL_V_2_6_30_2
   133     default "2.6.30.1" if KERNEL_V_2_6_30_1
   134     default "2.6.30" if KERNEL_V_2_6_30
   135     default "2.6.29.6" if KERNEL_V_2_6_29_6
   136     default "2.6.28.10" if KERNEL_V_2_6_28_10
   137     default "2.6.27.38" if KERNEL_V_2_6_27_38
   138 
   139 choice
   140     bool
   141     prompt "Kernel verbosity:"
   142     default KERNEL_LINUX_VERBOSITY_0
   143 
   144 config KERNEL_LINUX_VERBOSITY_0
   145     bool
   146     prompt "Simplified"
   147     help
   148       Print simplified command lines.
   149 
   150 config KERNEL_LINUX_VERBOSITY_1
   151     bool
   152     prompt "Full commands"
   153     help
   154       Print full command lines.
   155 
   156 config KERNEL_LINUX_VERBOSITY_2
   157     bool
   158     prompt "Exec reasons"
   159     help
   160       Print the reasons why a make target is rebuild.
   161 
   162 endchoice
   163 
   164 config KERNEL_LINUX_VERBOSE_LEVEL
   165     int
   166     default 0 if KERNEL_LINUX_VERBOSITY_0
   167     default 1 if KERNEL_LINUX_VERBOSITY_1
   168     default 2 if KERNEL_LINUX_VERBOSITY_2
   169 
   170 endif
   171 
   172 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   173     bool
   174     prompt "Use custom headers"
   175     help
   176       If you have some kernel headers lying around, you can enter the path
   177       below.
   178 
   179 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   180 
   181 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   182     bool
   183     prompt "This is a tarball"
   184     default n
   185     help
   186       If you say 'n' here, the path below is expected to point to a directory
   187       containing readily prepared headers
   188       
   189       If you say 'y' here, then the path below is expected to point to a
   190       tarball of such a directory.
   191       
   192       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   193       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   194       
   195       Now, passing a tarball around is easier than passing a directory, so
   196       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   197       say 'y' here, and enter the path to this tarball below.
   198 
   199 config KERNEL_LINUX_CUSTOM_PATH
   200     string
   201     prompt "Path to custom headers directory/tarball"
   202     help
   203       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   204 
   205 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   206 
   207 endchoice