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