config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Feb 10 08:52:13 2009 +0000 (2009-02-10)
changeset 1208 ad9f144b5c65
parent 1194 f6be430d09d0
child 1210 dfabaadc7524
permissions -rw-r--r--
"chmod -R u+w" extracted tarballs, as some may have read-only files in them (ncurses-5.7 does).

/trunk/scripts/functions | 3 3 0 0 +++
1 file changed, 3 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_28
   173     bool
   174     prompt "2.6.28"
   175 
   176 config KERNEL_V_2_6_28_1
   177     bool
   178     prompt "2.6.28.1"
   179 
   180 config KERNEL_V_2_6_28_2
   181     bool
   182     prompt "2.6.28.2"
   183 
   184 config KERNEL_V_2_6_28_3
   185     bool
   186     prompt "2.6.28.3"
   187 
   188 config KERNEL_V_2_6_28_4
   189     bool
   190     prompt "2.6.28.4"
   191 
   192 # CT_INSERT_VERSION_ABOVE
   193 # Don't remove above line!
   194 endchoice
   195 
   196 config KERNEL_VERSION
   197     string
   198     default "2.6.18.8" if KERNEL_V_2_6_18_8
   199     default "2.6.19.7" if KERNEL_V_2_6_19_7
   200     default "2.6.20.21" if KERNEL_V_2_6_20_21
   201     default "2.6.21.7" if KERNEL_V_2_6_21_7
   202     default "2.6.22.19" if KERNEL_V_2_6_22_19
   203     default "2.6.23.17" if KERNEL_V_2_6_23_17
   204     default "2.6.24.7" if KERNEL_V_2_6_24_7
   205     default "2.6.25.20" if KERNEL_V_2_6_25_20
   206     default "2.6.26" if KERNEL_V_2_6_26
   207     default "2.6.26.1" if KERNEL_V_2_6_26_1
   208     default "2.6.26.2" if KERNEL_V_2_6_26_2
   209     default "2.6.26.3" if KERNEL_V_2_6_26_3
   210     default "2.6.26.4" if KERNEL_V_2_6_26_4
   211     default "2.6.26.5" if KERNEL_V_2_6_26_5
   212     default "2.6.26.6" if KERNEL_V_2_6_26_6
   213     default "2.6.26.7" if KERNEL_V_2_6_26_7
   214     default "2.6.26.8" if KERNEL_V_2_6_26_8
   215     default "2.6.27" if KERNEL_V_2_6_27
   216     default "2.6.27.1" if KERNEL_V_2_6_27_1
   217     default "2.6.27.2" if KERNEL_V_2_6_27_2
   218     default "2.6.27.3" if KERNEL_V_2_6_27_3
   219     default "2.6.27.4" if KERNEL_V_2_6_27_4
   220     default "2.6.27.5" if KERNEL_V_2_6_27_5
   221     default "2.6.27.6" if KERNEL_V_2_6_27_6
   222     default "2.6.27.7" if KERNEL_V_2_6_27_7
   223     default "2.6.27.8" if KERNEL_V_2_6_27_8
   224     default "2.6.27.9" if KERNEL_V_2_6_27_9
   225     default "2.6.27.10" if KERNEL_V_2_6_27_10
   226     default "2.6.27.11" if KERNEL_V_2_6_27_11
   227     default "2.6.27.12" if KERNEL_V_2_6_27_12
   228     default "2.6.27.13" if KERNEL_V_2_6_27_13
   229     default "2.6.27.14" if KERNEL_V_2_6_27_14
   230     default "2.6.27.15" if KERNEL_V_2_6_27_15
   231     default "2.6.28" if KERNEL_V_2_6_28
   232     default "2.6.28.1" if KERNEL_V_2_6_28_1
   233     default "2.6.28.2" if KERNEL_V_2_6_28_2
   234     default "2.6.28.3" if KERNEL_V_2_6_28_3
   235     default "2.6.28.4" if KERNEL_V_2_6_28_4
   236 # CT_INSERT_VERSION_STRING_ABOVE
   237 # Don't remove above line!
   238 
   239 choice
   240     bool
   241     prompt "Kernel verbosity:"
   242     default KERNEL_LINUX_VERBOSITY_0
   243 
   244 config KERNEL_LINUX_VERBOSITY_0
   245     bool
   246     prompt "Simplified"
   247     help
   248       Print simplified command lines.
   249 
   250 config KERNEL_LINUX_VERBOSITY_1
   251     bool
   252     prompt "Full commands"
   253     help
   254       Print full command lines.
   255 
   256 config KERNEL_LINUX_VERBOSITY_2
   257     bool
   258     prompt "Exec reasons"
   259     help
   260       Print the reasons why a make target is rebuild.
   261 
   262 endchoice
   263 
   264 config KERNEL_LINUX_VERBOSE_LEVEL
   265     int
   266     default 0 if KERNEL_LINUX_VERBOSITY_0
   267     default 1 if KERNEL_LINUX_VERBOSITY_1
   268     default 2 if KERNEL_LINUX_VERBOSITY_2
   269 
   270 endif
   271 
   272 config KERNEL_LINUX_USE_CUSTOM_DIR
   273     bool
   274     prompt "Use custom directory"
   275     help
   276       If you have some kernel headers lying around, you can enter the path
   277       below.
   278 
   279 config KERNEL_LINUX_CUSTOM_DIR
   280     string
   281     prompt "Where are those custom headers?"
   282     depends on KERNEL_LINUX_USE_CUSTOM_DIR
   283     help
   284       Enter the base directory where the headers are to be found.
   285       
   286       Eg. if the headers are in /some/place/include, then enter /some/place.
   287           This is the same path you entered when you typed:
   288             make INSTALL_HDR_PATH=/some/place headers_install
   289 
   290 endchoice