config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Aug 30 16:47:51 2009 +0200 (2009-08-30)
changeset 1500 f1ee20bc057e
parent 1473 5377799f236e
child 1526 b849649bc89d
permissions -rw-r--r--
config: Linux kernel selectes shared libraries support

The Linux kernel supports using shared libraries, so prompt the user.
     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 
    35 config KERNEL_V_2_6_18_8
    36     bool
    37     prompt "2.6.18.8 (OBSOLETE)"
    38     depends on OBSOLETE
    39 
    40 config KERNEL_V_2_6_19_7
    41     bool
    42     prompt "2.6.19.7 (OBSOLETE)"
    43     depends on OBSOLETE
    44 
    45 config KERNEL_V_2_6_20_21
    46     bool
    47     prompt "2.6.20.21 (OBSOLETE)"
    48     depends on OBSOLETE
    49 
    50 config KERNEL_V_2_6_21_7
    51     bool
    52     prompt "2.6.21.7 (OBSOLETE)"
    53     depends on OBSOLETE
    54 
    55 config KERNEL_V_2_6_22_19
    56     bool
    57     prompt "2.6.22.19 (OBSOLETE)"
    58     depends on OBSOLETE
    59 
    60 config KERNEL_V_2_6_23_17
    61     bool
    62     prompt "2.6.23.17 (OBSOLETE)"
    63     depends on OBSOLETE
    64 
    65 config KERNEL_V_2_6_24_7
    66     bool
    67     prompt "2.6.24.7 (OBSOLETE)"
    68     depends on OBSOLETE
    69 
    70 config KERNEL_V_2_6_25_20
    71     bool
    72     prompt "2.6.25.20 (OBSOLETE)"
    73     depends on OBSOLETE
    74 
    75 config KERNEL_V_2_6_26_8
    76     bool
    77     prompt "2.6.26.8 (OBSOLETE)"
    78     depends on OBSOLETE
    79 
    80 config KERNEL_V_2_6_27_31
    81     bool
    82     prompt "2.6.27.31 (long-term stable)"
    83 
    84 config KERNEL_V_2_6_28_10
    85     bool
    86     prompt "2.6.28.10"
    87 
    88 config KERNEL_V_2_6_29
    89     bool
    90     prompt "2.6.29"
    91 
    92 config KERNEL_V_2_6_29_1
    93     bool
    94     prompt "2.6.29.1"
    95 
    96 config KERNEL_V_2_6_29_2
    97     bool
    98     prompt "2.6.29.2"
    99 
   100 config KERNEL_V_2_6_29_3
   101     bool
   102     prompt "2.6.29.3"
   103 
   104 config KERNEL_V_2_6_29_4
   105     bool
   106     prompt "2.6.29.4"
   107 
   108 config KERNEL_V_2_6_29_5
   109     bool
   110     prompt "2.6.29.5"
   111 
   112 config KERNEL_V_2_6_29_6
   113     bool
   114     prompt "2.6.29.6"
   115 
   116 config KERNEL_V_2_6_30
   117     bool
   118     prompt "2.6.30"
   119 
   120 config KERNEL_V_2_6_30_1
   121     bool
   122     prompt "2.6.30.1"
   123 
   124 config KERNEL_V_2_6_30_2
   125     bool
   126     prompt "2.6.30.2"
   127 
   128 config KERNEL_V_2_6_30_3
   129     bool
   130     prompt "2.6.30.3"
   131 
   132 config KERNEL_V_2_6_30_4
   133     bool
   134     prompt "2.6.30.4"
   135 
   136 config KERNEL_V_2_6_30_5
   137     bool
   138     prompt "2.6.30.5"
   139 
   140 # CT_INSERT_VERSION_ABOVE
   141 # Don't remove above line!
   142 
   143 config KERNEL_V_select
   144     bool
   145     prompt "Other version (EXPERIMENTAL)"
   146     depends on EXPERIMENTAL
   147 
   148 endchoice
   149 
   150 config KERNEL_VERSION
   151     string
   152     prompt "Kernel version" if KERNEL_V_select
   153     default "2.6.18.8" if KERNEL_V_2_6_18_8
   154     default "2.6.19.7" if KERNEL_V_2_6_19_7
   155     default "2.6.20.21" if KERNEL_V_2_6_20_21
   156     default "2.6.21.7" if KERNEL_V_2_6_21_7
   157     default "2.6.22.19" if KERNEL_V_2_6_22_19
   158     default "2.6.23.17" if KERNEL_V_2_6_23_17
   159     default "2.6.24.7" if KERNEL_V_2_6_24_7
   160     default "2.6.25.20" if KERNEL_V_2_6_25_20
   161     default "2.6.26.8" if KERNEL_V_2_6_26_8
   162     default "2.6.27.31" if KERNEL_V_2_6_27_31
   163     default "2.6.28.10" if KERNEL_V_2_6_28_10
   164     default "2.6.29" if KERNEL_V_2_6_29
   165     default "2.6.29.1" if KERNEL_V_2_6_29_1
   166     default "2.6.29.2" if KERNEL_V_2_6_29_2
   167     default "2.6.29.3" if KERNEL_V_2_6_29_3
   168     default "2.6.29.4" if KERNEL_V_2_6_29_4
   169     default "2.6.29.5" if KERNEL_V_2_6_29_5
   170     default "2.6.29.6" if KERNEL_V_2_6_29_6
   171     default "2.6.30" if KERNEL_V_2_6_30
   172     default "2.6.30.1" if KERNEL_V_2_6_30_1
   173     default "2.6.30.2" if KERNEL_V_2_6_30_2
   174     default "2.6.30.3" if KERNEL_V_2_6_30_3
   175     default "2.6.30.4" if KERNEL_V_2_6_30_4
   176     default "2.6.30.5" if KERNEL_V_2_6_30_5
   177 # CT_INSERT_VERSION_STRING_ABOVE
   178 # Don't remove above line!
   179     help
   180       Enter here the kernel version you want to use, if it is
   181       not listed above. Something like V.P.S or V.P.S.E, where:
   182         V: VERSION
   183         P: PATCHLEVEL
   184         S: SUBLEVEL
   185         E: EXTRAVERSION
   186 
   187 choice
   188     bool
   189     prompt "Kernel verbosity:"
   190     default KERNEL_LINUX_VERBOSITY_0
   191 
   192 config KERNEL_LINUX_VERBOSITY_0
   193     bool
   194     prompt "Simplified"
   195     help
   196       Print simplified command lines.
   197 
   198 config KERNEL_LINUX_VERBOSITY_1
   199     bool
   200     prompt "Full commands"
   201     help
   202       Print full command lines.
   203 
   204 config KERNEL_LINUX_VERBOSITY_2
   205     bool
   206     prompt "Exec reasons"
   207     help
   208       Print the reasons why a make target is rebuild.
   209 
   210 endchoice
   211 
   212 config KERNEL_LINUX_VERBOSE_LEVEL
   213     int
   214     default 0 if KERNEL_LINUX_VERBOSITY_0
   215     default 1 if KERNEL_LINUX_VERBOSITY_1
   216     default 2 if KERNEL_LINUX_VERBOSITY_2
   217 
   218 endif
   219 
   220 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   221     bool
   222     prompt "Use custom headers"
   223     help
   224       If you have some kernel headers lying around, you can enter the path
   225       below.
   226 
   227 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   228 
   229 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   230     bool
   231     prompt "This is a tarball"
   232     default n
   233     help
   234       If you say 'n' here, the path below is expected to point to a directory
   235       containing readily prepared headers
   236       
   237       If you say 'y' here, then the path below is expected to point to a
   238       tarball of such a directory.
   239       
   240       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   241       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   242       
   243       Now, passing a tarball around is easier than passing a directory, so
   244       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   245       say 'y' here, and enter the path to this tarball below.
   246 
   247 config KERNEL_LINUX_CUSTOM_PATH
   248     string
   249     prompt "Path to custom headers directory/tarball"
   250     help
   251       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   252 
   253 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   254 
   255 endchoice