config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Feb 13 07:22:56 2009 +0000 (2009-02-13)
changeset 1210 dfabaadc7524
parent 1203 001b55bfe0ac
child 1221 814d458b1878
permissions -rw-r--r--
Add latest Linux kernel versions (for headers): 2.6.27.1{6,7} & 2.6.28.5

/trunk/config/kernel/linux.in | 15 15 0 0 +++++++++++++++
1 file changed, 15 insertions(+)
     1 # Linux kernel options
     2 
     3 config KERNEL_linux
     4     help
     5       Build a toolchain targeting systems running Linux as a kernel.
     6 
     7 choice
     8     bool
     9     prompt "Get kernel headers from:"
    10 
    11 config KERNEL_LINUX_INSTALL
    12     bool
    13     prompt "kernel's 'headers_install'"
    14     help
    15       This will make use of the new headers_install rule in recent kernels.
    16       This is most probably what you want to use.
    17 
    18 if KERNEL_LINUX_INSTALL
    19 
    20 config KERNEL_LINUX_INSTALL_CHECK
    21     bool
    22     prompt "Check installed headers"
    23     default y
    24     help
    25       If you are in doubt that installed headers are buggy, say 'Y'
    26       here to have an extra check passed onto the headers.
    27 
    28 choice
    29     bool
    30     prompt "Linux kernel version"
    31 
    32 config KERNEL_V_2_6_18_8
    33     bool
    34     prompt "2.6.18.8 (OBSOLETE)"
    35     depends on OBSOLETE
    36 
    37 config KERNEL_V_2_6_19_7
    38     bool
    39     prompt "2.6.19.7 (OBSOLETE)"
    40     depends on OBSOLETE
    41 
    42 config KERNEL_V_2_6_20_21
    43     bool
    44     prompt "2.6.20.21 (OBSOLETE)"
    45     depends on OBSOLETE
    46 
    47 config KERNEL_V_2_6_21_7
    48     bool
    49     prompt "2.6.21.7 (OBSOLETE)"
    50     depends on OBSOLETE
    51 
    52 config KERNEL_V_2_6_22_19
    53     bool
    54     prompt "2.6.22.19 (OBSOLETE)"
    55     depends on OBSOLETE
    56 
    57 config KERNEL_V_2_6_23_17
    58     bool
    59     prompt "2.6.23.17 (OBSOLETE)"
    60     depends on OBSOLETE
    61 
    62 config KERNEL_V_2_6_24_7
    63     bool
    64     prompt "2.6.24.7 (OBSOLETE)"
    65     depends on OBSOLETE
    66 
    67 config KERNEL_V_2_6_25_20
    68     bool
    69     prompt "2.6.25.20 (OBSOLETE)"
    70     depends on OBSOLETE
    71 
    72 config KERNEL_V_2_6_26
    73     bool
    74     prompt "2.6.26"
    75 
    76 config KERNEL_V_2_6_26_1
    77     bool
    78     prompt "2.6.26.1"
    79 
    80 config KERNEL_V_2_6_26_2
    81     bool
    82     prompt "2.6.26.2"
    83 
    84 config KERNEL_V_2_6_26_3
    85     bool
    86     prompt "2.6.26.3"
    87 
    88 config KERNEL_V_2_6_26_4
    89     bool
    90     prompt "2.6.26.4"
    91 
    92 config KERNEL_V_2_6_26_5
    93     bool
    94     prompt "2.6.26.5"
    95 
    96 config KERNEL_V_2_6_26_6
    97     bool
    98     prompt "2.6.26.6"
    99 
   100 config KERNEL_V_2_6_26_7
   101     bool
   102     prompt "2.6.26.7"
   103 
   104 config KERNEL_V_2_6_26_8
   105     bool
   106     prompt "2.6.26.8"
   107 
   108 config KERNEL_V_2_6_27
   109     bool
   110     prompt "2.6.27"
   111 
   112 config KERNEL_V_2_6_27_1
   113     bool
   114     prompt "2.6.27.1"
   115 
   116 config KERNEL_V_2_6_27_2
   117     bool
   118     prompt "2.6.27.2"
   119 
   120 config KERNEL_V_2_6_27_3
   121     bool
   122     prompt "2.6.27.3"
   123 
   124 config KERNEL_V_2_6_27_4
   125     bool
   126     prompt "2.6.27.4"
   127 
   128 config KERNEL_V_2_6_27_5
   129     bool
   130     prompt "2.6.27.5"
   131 
   132 config KERNEL_V_2_6_27_6
   133     bool
   134     prompt "2.6.27.6"
   135 
   136 config KERNEL_V_2_6_27_7
   137     bool
   138     prompt "2.6.27.7"
   139 
   140 config KERNEL_V_2_6_27_8
   141     bool
   142     prompt "2.6.27.8"
   143 
   144 config KERNEL_V_2_6_27_9
   145     bool
   146     prompt "2.6.27.9"
   147 
   148 config KERNEL_V_2_6_27_10
   149     bool
   150     prompt "2.6.27.10"
   151 
   152 config KERNEL_V_2_6_27_11
   153     bool
   154     prompt "2.6.27.11"
   155 
   156 config KERNEL_V_2_6_27_12
   157     bool
   158     prompt "2.6.27.12"
   159 
   160 config KERNEL_V_2_6_27_13
   161     bool
   162     prompt "2.6.27.13"
   163 
   164 config KERNEL_V_2_6_27_14
   165     bool
   166     prompt "2.6.27.14"
   167 
   168 config KERNEL_V_2_6_27_15
   169     bool
   170     prompt "2.6.27.15"
   171 
   172 config KERNEL_V_2_6_27_16
   173     bool
   174     prompt "2.6.27.16"
   175 
   176 config KERNEL_V_2_6_27_17
   177     bool
   178     prompt "2.6.27.17"
   179 
   180 config KERNEL_V_2_6_28
   181     bool
   182     prompt "2.6.28"
   183 
   184 config KERNEL_V_2_6_28_1
   185     bool
   186     prompt "2.6.28.1"
   187 
   188 config KERNEL_V_2_6_28_2
   189     bool
   190     prompt "2.6.28.2"
   191 
   192 config KERNEL_V_2_6_28_3
   193     bool
   194     prompt "2.6.28.3"
   195 
   196 config KERNEL_V_2_6_28_4
   197     bool
   198     prompt "2.6.28.4"
   199 
   200 config KERNEL_V_2_6_28_5
   201     bool
   202     prompt "2.6.28.5"
   203 
   204 # CT_INSERT_VERSION_ABOVE
   205 # Don't remove above line!
   206 endchoice
   207 
   208 config KERNEL_VERSION
   209     string
   210     default "2.6.18.8" if KERNEL_V_2_6_18_8
   211     default "2.6.19.7" if KERNEL_V_2_6_19_7
   212     default "2.6.20.21" if KERNEL_V_2_6_20_21
   213     default "2.6.21.7" if KERNEL_V_2_6_21_7
   214     default "2.6.22.19" if KERNEL_V_2_6_22_19
   215     default "2.6.23.17" if KERNEL_V_2_6_23_17
   216     default "2.6.24.7" if KERNEL_V_2_6_24_7
   217     default "2.6.25.20" if KERNEL_V_2_6_25_20
   218     default "2.6.26" if KERNEL_V_2_6_26
   219     default "2.6.26.1" if KERNEL_V_2_6_26_1
   220     default "2.6.26.2" if KERNEL_V_2_6_26_2
   221     default "2.6.26.3" if KERNEL_V_2_6_26_3
   222     default "2.6.26.4" if KERNEL_V_2_6_26_4
   223     default "2.6.26.5" if KERNEL_V_2_6_26_5
   224     default "2.6.26.6" if KERNEL_V_2_6_26_6
   225     default "2.6.26.7" if KERNEL_V_2_6_26_7
   226     default "2.6.26.8" if KERNEL_V_2_6_26_8
   227     default "2.6.27" if KERNEL_V_2_6_27
   228     default "2.6.27.1" if KERNEL_V_2_6_27_1
   229     default "2.6.27.2" if KERNEL_V_2_6_27_2
   230     default "2.6.27.3" if KERNEL_V_2_6_27_3
   231     default "2.6.27.4" if KERNEL_V_2_6_27_4
   232     default "2.6.27.5" if KERNEL_V_2_6_27_5
   233     default "2.6.27.6" if KERNEL_V_2_6_27_6
   234     default "2.6.27.7" if KERNEL_V_2_6_27_7
   235     default "2.6.27.8" if KERNEL_V_2_6_27_8
   236     default "2.6.27.9" if KERNEL_V_2_6_27_9
   237     default "2.6.27.10" if KERNEL_V_2_6_27_10
   238     default "2.6.27.11" if KERNEL_V_2_6_27_11
   239     default "2.6.27.12" if KERNEL_V_2_6_27_12
   240     default "2.6.27.13" if KERNEL_V_2_6_27_13
   241     default "2.6.27.14" if KERNEL_V_2_6_27_14
   242     default "2.6.27.15" if KERNEL_V_2_6_27_15
   243     default "2.6.27.16" if KERNEL_V_2_6_27_16
   244     default "2.6.27.17" if KERNEL_V_2_6_27_17
   245     default "2.6.28" if KERNEL_V_2_6_28
   246     default "2.6.28.1" if KERNEL_V_2_6_28_1
   247     default "2.6.28.2" if KERNEL_V_2_6_28_2
   248     default "2.6.28.3" if KERNEL_V_2_6_28_3
   249     default "2.6.28.4" if KERNEL_V_2_6_28_4
   250     default "2.6.28.5" if KERNEL_V_2_6_28_5
   251 # CT_INSERT_VERSION_STRING_ABOVE
   252 # Don't remove above line!
   253 
   254 choice
   255     bool
   256     prompt "Kernel verbosity:"
   257     default KERNEL_LINUX_VERBOSITY_0
   258 
   259 config KERNEL_LINUX_VERBOSITY_0
   260     bool
   261     prompt "Simplified"
   262     help
   263       Print simplified command lines.
   264 
   265 config KERNEL_LINUX_VERBOSITY_1
   266     bool
   267     prompt "Full commands"
   268     help
   269       Print full command lines.
   270 
   271 config KERNEL_LINUX_VERBOSITY_2
   272     bool
   273     prompt "Exec reasons"
   274     help
   275       Print the reasons why a make target is rebuild.
   276 
   277 endchoice
   278 
   279 config KERNEL_LINUX_VERBOSE_LEVEL
   280     int
   281     default 0 if KERNEL_LINUX_VERBOSITY_0
   282     default 1 if KERNEL_LINUX_VERBOSITY_1
   283     default 2 if KERNEL_LINUX_VERBOSITY_2
   284 
   285 endif
   286 
   287 config KERNEL_LINUX_USE_CUSTOM_DIR
   288     bool
   289     prompt "Use custom directory"
   290     help
   291       If you have some kernel headers lying around, you can enter the path
   292       below.
   293 
   294 config KERNEL_LINUX_CUSTOM_DIR
   295     string
   296     prompt "Where are those custom headers?"
   297     depends on KERNEL_LINUX_USE_CUSTOM_DIR
   298     help
   299       Enter the base directory where the headers are to be found.
   300       
   301       Eg. if the headers are in /some/place/include, then enter /some/place.
   302           This is the same path you entered when you typed:
   303             make INSTALL_HDR_PATH=/some/place headers_install
   304 
   305 endchoice