config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Nov 13 20:19:50 2008 +0000 (2008-11-13)
changeset 1042 3d35a55cdfbc
parent 972 5a1b20454f8b
child 1108 91f9328d52a7
permissions -rw-r--r--
Add the latest Linux kernel versions:
- 2.6.25.20
- 2.6.26.8
- 2.6.27.{4,5,6}

/trunk/config/kernel/linux.in | 26 23 3 0 +++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)
     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 # CT_INSERT_VERSION_ABOVE
   137 # Don't remove above line!
   138 endchoice
   139 
   140 config KERNEL_VERSION
   141     string
   142     default "2.6.18.8" if KERNEL_V_2_6_18_8
   143     default "2.6.19.7" if KERNEL_V_2_6_19_7
   144     default "2.6.20.21" if KERNEL_V_2_6_20_21
   145     default "2.6.21.7" if KERNEL_V_2_6_21_7
   146     default "2.6.22.19" if KERNEL_V_2_6_22_19
   147     default "2.6.23.17" if KERNEL_V_2_6_23_17
   148     default "2.6.24.7" if KERNEL_V_2_6_24_7
   149     default "2.6.25.20" if KERNEL_V_2_6_25_20
   150     default "2.6.26" if KERNEL_V_2_6_26
   151     default "2.6.26.1" if KERNEL_V_2_6_26_1
   152     default "2.6.26.2" if KERNEL_V_2_6_26_2
   153     default "2.6.26.3" if KERNEL_V_2_6_26_3
   154     default "2.6.26.4" if KERNEL_V_2_6_26_4
   155     default "2.6.26.5" if KERNEL_V_2_6_26_5
   156     default "2.6.26.6" if KERNEL_V_2_6_26_6
   157     default "2.6.26.7" if KERNEL_V_2_6_26_7
   158     default "2.6.26.8" if KERNEL_V_2_6_26_8
   159     default "2.6.27" if KERNEL_V_2_6_27
   160     default "2.6.27.1" if KERNEL_V_2_6_27_1
   161     default "2.6.27.2" if KERNEL_V_2_6_27_2
   162     default "2.6.27.3" if KERNEL_V_2_6_27_3
   163     default "2.6.27.4" if KERNEL_V_2_6_27_4
   164     default "2.6.27.5" if KERNEL_V_2_6_27_5
   165     default "2.6.27.6" if KERNEL_V_2_6_27_6
   166 # CT_INSERT_VERSION_STRING_ABOVE
   167 # Don't remove above line!
   168 
   169 choice
   170     bool
   171     prompt "Kernel verbosity:"
   172     default KERNEL_LINUX_VERBOSITY_0
   173 
   174 config KERNEL_LINUX_VERBOSITY_0
   175     bool
   176     prompt "Simplified"
   177     help
   178       Print simplified command lines.
   179 
   180 config KERNEL_LINUX_VERBOSITY_1
   181     bool
   182     prompt "Full commands"
   183     help
   184       Print full command lines.
   185 
   186 config KERNEL_LINUX_VERBOSITY_2
   187     bool
   188     prompt "Exec reasons"
   189     help
   190       Print the reasons why a make target is rebuild.
   191 
   192 endchoice
   193 
   194 config KERNEL_LINUX_VERBOSE_LEVEL
   195     int
   196     default 0 if KERNEL_LINUX_VERBOSITY_0
   197     default 1 if KERNEL_LINUX_VERBOSITY_1
   198     default 2 if KERNEL_LINUX_VERBOSITY_2
   199 
   200 endif
   201 
   202 config KERNEL_LINUX_USE_CUSTOM_DIR
   203     bool
   204     prompt "Use custom directory"
   205     help
   206       If you have some kernel headers lying around, you can enter the path
   207       below.
   208 
   209 config KERNEL_LINUX_CUSTOM_DIR
   210     string
   211     prompt "Where are those custom headers?"
   212     depends on KERNEL_LINUX_USE_CUSTOM_DIR
   213     help
   214       Enter the base directory where the headers are to be found.
   215       
   216       Eg. if the headers are in /some/place/include, then enter /some/place.
   217           This is the same path you entered when you typed:
   218             make INSTALL_HDR_PATH=/some/place headers_install
   219 
   220 endchoice