config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jan 29 18:53:32 2009 +0000 (2009-01-29)
changeset 1174 7710d81d15e7
parent 1145 db416a45798a
child 1194 f6be430d09d0
permissions -rw-r--r--
Use the path discovered by ./configure in scripts/addToolVersion.sh
It now requires that "./configure && make" be run beforehand.

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