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