config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Oct 21 00:06:22 2009 +0200 (2009-10-21)
changeset 1606 859af0f9d110
parent 1603 e0ef539e23d9
child 1610 0790e4bc8a79
permissions -rw-r--r--
kernel/linux: remove the version prompt
     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 endchoice
    94 
    95 config KERNEL_VERSION
    96     string
    97 # Don't remove next line
    98 # CT_INSERT_VERSION_STRING_BELOW
    99     default "2.6.31.1" if KERNEL_V_2_6_31_1
   100     default "2.6.31" if KERNEL_V_2_6_31
   101     default "3.6.30.8" if KERNEL_V_3_6_30_8
   102     default "3.6.30.7" if KERNEL_V_3_6_30_7
   103     default "2.6.30.6" if KERNEL_V_2_6_30_6
   104     default "2.6.30.5" if KERNEL_V_2_6_30_5
   105     default "2.6.30.4" if KERNEL_V_2_6_30_4
   106     default "2.6.30.3" if KERNEL_V_2_6_30_3
   107     default "2.6.30.2" if KERNEL_V_2_6_30_2
   108     default "2.6.30.1" if KERNEL_V_2_6_30_1
   109     default "2.6.30" if KERNEL_V_2_6_30
   110     default "2.6.29.6" if KERNEL_V_2_6_29_6
   111     default "2.6.28.10" if KERNEL_V_2_6_28_10
   112     default "2.6.27.35" if KERNEL_V_2_6_27_35
   113 
   114 choice
   115     bool
   116     prompt "Kernel verbosity:"
   117     default KERNEL_LINUX_VERBOSITY_0
   118 
   119 config KERNEL_LINUX_VERBOSITY_0
   120     bool
   121     prompt "Simplified"
   122     help
   123       Print simplified command lines.
   124 
   125 config KERNEL_LINUX_VERBOSITY_1
   126     bool
   127     prompt "Full commands"
   128     help
   129       Print full command lines.
   130 
   131 config KERNEL_LINUX_VERBOSITY_2
   132     bool
   133     prompt "Exec reasons"
   134     help
   135       Print the reasons why a make target is rebuild.
   136 
   137 endchoice
   138 
   139 config KERNEL_LINUX_VERBOSE_LEVEL
   140     int
   141     default 0 if KERNEL_LINUX_VERBOSITY_0
   142     default 1 if KERNEL_LINUX_VERBOSITY_1
   143     default 2 if KERNEL_LINUX_VERBOSITY_2
   144 
   145 endif
   146 
   147 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   148     bool
   149     prompt "Use custom headers"
   150     help
   151       If you have some kernel headers lying around, you can enter the path
   152       below.
   153 
   154 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   155 
   156 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   157     bool
   158     prompt "This is a tarball"
   159     default n
   160     help
   161       If you say 'n' here, the path below is expected to point to a directory
   162       containing readily prepared headers
   163       
   164       If you say 'y' here, then the path below is expected to point to a
   165       tarball of such a directory.
   166       
   167       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   168       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   169       
   170       Now, passing a tarball around is easier than passing a directory, so
   171       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   172       say 'y' here, and enter the path to this tarball below.
   173 
   174 config KERNEL_LINUX_CUSTOM_PATH
   175     string
   176     prompt "Path to custom headers directory/tarball"
   177     help
   178       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   179 
   180 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   181 
   182 endchoice