config/kernel/linux.in-common
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 13 20:55:15 2009 +0000 (2009-05-13)
changeset 1337 7f742f73c2d1
permissions -rw-r--r--
Merge the /deve/uclinux branch back to /trunk:
- add support for uClinux, the MMU-less ports of Linux.

-------- diffstat follows --------
/trunk/scripts/build/kernel/linux.sh | 100 1 99 0 ---------------
/trunk/steps.mk | 1 1 0 0 +
/trunk/config/kernel/linux.in | 247 0 247 0 -------------------------------------
/trunk/config/kernel.in | 2 1 1 0
/trunk/config/libc/glibc.in | 2 1 1 0
/trunk/config/libc/eglibc.in | 2 1 1 0
/trunk/config/libc/glibc-eglibc.in-common | 5 5 0 0 +
/trunk/config/config.in | 1 1 0 0 +
8 files changed, 11 insertions(+), 349 deletions(-)
     1 # Linux kernel options
     2 
     3 if KERNEL_linux || KERNEL_uclinux
     4 
     5 choice
     6     bool
     7     prompt "Get kernel headers from:"
     8 
     9 config KERNEL_LINUX_INSTALL
    10     bool
    11     prompt "kernel's 'headers_install'"
    12     help
    13       This will make use of the new headers_install rule in recent kernels.
    14       This is most probably what you want to use.
    15 
    16 if KERNEL_LINUX_INSTALL
    17 
    18 config KERNEL_LINUX_INSTALL_CHECK
    19     bool
    20     prompt "Check installed headers"
    21     default y
    22     help
    23       If you are in doubt that installed headers are buggy, say 'Y'
    24       here to have an extra check passed onto the headers.
    25 
    26 choice
    27     bool
    28     prompt "Linux kernel version"
    29 
    30 config KERNEL_V_2_6_18_8
    31     bool
    32     prompt "2.6.18.8 (OBSOLETE)"
    33     depends on OBSOLETE
    34 
    35 config KERNEL_V_2_6_19_7
    36     bool
    37     prompt "2.6.19.7 (OBSOLETE)"
    38     depends on OBSOLETE
    39 
    40 config KERNEL_V_2_6_20_21
    41     bool
    42     prompt "2.6.20.21 (OBSOLETE)"
    43     depends on OBSOLETE
    44 
    45 config KERNEL_V_2_6_21_7
    46     bool
    47     prompt "2.6.21.7 (OBSOLETE)"
    48     depends on OBSOLETE
    49 
    50 config KERNEL_V_2_6_22_19
    51     bool
    52     prompt "2.6.22.19 (OBSOLETE)"
    53     depends on OBSOLETE
    54 
    55 config KERNEL_V_2_6_23_17
    56     bool
    57     prompt "2.6.23.17 (OBSOLETE)"
    58     depends on OBSOLETE
    59 
    60 config KERNEL_V_2_6_24_7
    61     bool
    62     prompt "2.6.24.7 (OBSOLETE)"
    63     depends on OBSOLETE
    64 
    65 config KERNEL_V_2_6_25_20
    66     bool
    67     prompt "2.6.25.20 (OBSOLETE)"
    68     depends on OBSOLETE
    69 
    70 config KERNEL_V_2_6_26_8
    71     bool
    72     prompt "2.6.26.8 (OBSOLETE)"
    73     depends on OBSOLETE
    74 
    75 config KERNEL_V_2_6_27_22
    76     bool
    77     prompt "2.6.27.22 (OBSOLETE)"
    78     depends on OBSOLETE
    79 
    80 config KERNEL_V_2_6_28
    81     bool
    82     prompt "2.6.28"
    83 
    84 config KERNEL_V_2_6_28_1
    85     bool
    86     prompt "2.6.28.1"
    87 
    88 config KERNEL_V_2_6_28_2
    89     bool
    90     prompt "2.6.28.2"
    91 
    92 config KERNEL_V_2_6_28_3
    93     bool
    94     prompt "2.6.28.3"
    95 
    96 config KERNEL_V_2_6_28_4
    97     bool
    98     prompt "2.6.28.4"
    99 
   100 config KERNEL_V_2_6_28_5
   101     bool
   102     prompt "2.6.28.5"
   103 
   104 config KERNEL_V_2_6_28_6
   105     bool
   106     prompt "2.6.28.6"
   107 
   108 config KERNEL_V_2_6_28_7
   109     bool
   110     prompt "2.6.28.7"
   111 
   112 config KERNEL_V_2_6_28_8
   113     bool
   114     prompt "2.6.28.8"
   115 
   116 config KERNEL_V_2_6_28_9
   117     bool
   118     prompt "2.6.28.9"
   119 
   120 config KERNEL_V_2_6_28_10
   121     bool
   122     prompt "2.6.28.10"
   123 
   124 config KERNEL_V_2_6_29
   125     bool
   126     prompt "2.6.29"
   127 
   128 config KERNEL_V_2_6_29_1
   129     bool
   130     prompt "2.6.29.1"
   131 
   132 config KERNEL_V_2_6_29_2
   133     bool
   134     prompt "2.6.29.2"
   135 
   136 # CT_INSERT_VERSION_ABOVE
   137 # Don't remove above line!
   138 
   139 config KERNEL_V_select
   140     bool
   141     prompt "Other version (EXPERIMENTAL)"
   142     depends on EXPERIMENTAL
   143 
   144 endchoice
   145 
   146 config KERNEL_VERSION
   147     string
   148     prompt "Kernel version" if KERNEL_V_select
   149     default "2.6.18.8" if KERNEL_V_2_6_18_8
   150     default "2.6.19.7" if KERNEL_V_2_6_19_7
   151     default "2.6.20.21" if KERNEL_V_2_6_20_21
   152     default "2.6.21.7" if KERNEL_V_2_6_21_7
   153     default "2.6.22.19" if KERNEL_V_2_6_22_19
   154     default "2.6.23.17" if KERNEL_V_2_6_23_17
   155     default "2.6.24.7" if KERNEL_V_2_6_24_7
   156     default "2.6.25.20" if KERNEL_V_2_6_25_20
   157     default "2.6.26.8" if KERNEL_V_2_6_26_8
   158     default "2.6.27.22" if KERNEL_V_2_6_27_22
   159     default "2.6.28" if KERNEL_V_2_6_28
   160     default "2.6.28.1" if KERNEL_V_2_6_28_1
   161     default "2.6.28.2" if KERNEL_V_2_6_28_2
   162     default "2.6.28.3" if KERNEL_V_2_6_28_3
   163     default "2.6.28.4" if KERNEL_V_2_6_28_4
   164     default "2.6.28.5" if KERNEL_V_2_6_28_5
   165     default "2.6.28.6" if KERNEL_V_2_6_28_6
   166     default "2.6.28.7" if KERNEL_V_2_6_28_7
   167     default "2.6.28.8" if KERNEL_V_2_6_28_8
   168     default "2.6.28.9" if KERNEL_V_2_6_28_9
   169     default "2.6.28.10" if KERNEL_V_2_6_28_10
   170     default "2.6.29" if KERNEL_V_2_6_29
   171     default "2.6.29.1" if KERNEL_V_2_6_29_1
   172     default "2.6.29.2" if KERNEL_V_2_6_29_2
   173 # CT_INSERT_VERSION_STRING_ABOVE
   174 # Don't remove above line!
   175     help
   176       Enter here the kernel version you want to use, if it is
   177       not listed above. Something like V.P.S or V.P.S.E, where:
   178         V: VERSION
   179         P: PATCHLEVEL
   180         S: SUBLEVEL
   181         E: EXTRAVERSION
   182 
   183 choice
   184     bool
   185     prompt "Kernel verbosity:"
   186     default KERNEL_LINUX_VERBOSITY_0
   187 
   188 config KERNEL_LINUX_VERBOSITY_0
   189     bool
   190     prompt "Simplified"
   191     help
   192       Print simplified command lines.
   193 
   194 config KERNEL_LINUX_VERBOSITY_1
   195     bool
   196     prompt "Full commands"
   197     help
   198       Print full command lines.
   199 
   200 config KERNEL_LINUX_VERBOSITY_2
   201     bool
   202     prompt "Exec reasons"
   203     help
   204       Print the reasons why a make target is rebuild.
   205 
   206 endchoice
   207 
   208 config KERNEL_LINUX_VERBOSE_LEVEL
   209     int
   210     default 0 if KERNEL_LINUX_VERBOSITY_0
   211     default 1 if KERNEL_LINUX_VERBOSITY_1
   212     default 2 if KERNEL_LINUX_VERBOSITY_2
   213 
   214 endif
   215 
   216 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   217     bool
   218     prompt "Use custom headers"
   219     help
   220       If you have some kernel headers lying around, you can enter the path
   221       below.
   222 
   223 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   224 
   225 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   226     bool
   227     prompt "This is a tarball"
   228     default n
   229     help
   230       If you say 'n' here, the path below is expected to point to a directory
   231       containing readily prepared headers
   232       
   233       If you say 'y' here, then the path below is expected to point to a
   234       tarball of such a directory.
   235       
   236       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   237       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   238       
   239       Now, passing a tarball around is easier than passing a directory, so
   240       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   241       say 'y' here, and enter the path to this tarball below.
   242 
   243 config KERNEL_LINUX_CUSTOM_PATH
   244     string
   245     prompt "Path to custom headers directory/tarball"
   246     help
   247       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   248 
   249 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   250 
   251 endchoice
   252 endif