config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Sep 15 14:52:29 2008 +0000 (2008-09-15)
changeset 858 e815b1a5057c
parent 856 8d23dc29eb7d
child 861 5506fbbad59b
permissions -rw-r--r--
Move all the Linux kernel config options to a single file (to ease supporting more than one kernel).
Rename some Linux kernel config options (ditto).
Update the addToolsVersion.sh script.

/trunk/scripts/build/kernel/linux.sh | 13 6 7 0 +--
/trunk/tools/addToolVersion.sh | 105 37 68 0 +++++++--------------
/trunk/config/kernel/linux.in | 211 189 22 0 ++++++++++++++++++++++++++++++++++++++----
3 files changed, 232 insertions(+), 97 deletions(-)
     1 # Linux kernel options
     2 
     3 choice
     4     bool
     5     prompt "Get kernel headers from:"
     6 
     7 config KERNEL_LINUX_INSTALL
     8     bool
     9     prompt "kernel's 'headers_install'"
    10     help
    11       This will make use of the new headers_install rule in recent kernels.
    12       This is most probably what you want to use.
    13 
    14 if KERNEL_LINUX_INSTALL
    15 
    16 config KERNEL_LINUX_INSTALL_CHECK
    17     bool
    18     prompt "Check installed headers"
    19     default y
    20     help
    21       If you are in doubt that installed headers are buggy, say 'Y'
    22       here to have an extra check passed onto the headers.
    23 
    24 choice
    25     bool
    26     prompt "Linux kernel version"
    27 
    28 config KERNEL_V_2_6_18_8
    29     bool
    30     prompt "2.6.18.8 (OBSOLETE)"
    31     depends on OBSOLETE
    32 
    33 config KERNEL_V_2_6_19_7
    34     bool
    35     prompt "2.6.19.7 (OBSOLETE)"
    36     depends on OBSOLETE
    37 
    38 config KERNEL_V_2_6_20_21
    39     bool
    40     prompt "2.6.20.21 (OBSOLETE)"
    41     depends on OBSOLETE
    42 
    43 config KERNEL_V_2_6_21_7
    44     bool
    45     prompt "2.6.21.7 (OBSOLETE)"
    46     depends on OBSOLETE
    47 
    48 config KERNEL_V_2_6_22_19
    49     bool
    50     prompt "2.6.22.19 (OBSOLETE)"
    51     depends on OBSOLETE
    52 
    53 config KERNEL_V_2_6_23_17
    54     bool
    55     prompt "2.6.23.17 (OBSOLETE)"
    56     depends on OBSOLETE
    57 
    58 config KERNEL_V_2_6_24_7
    59     bool
    60     prompt "2.6.24.7 (OBSOLETE)"
    61     depends on OBSOLETE
    62 
    63 config KERNEL_V_2_6_25
    64     bool
    65     prompt "2.6.25"
    66 
    67 config KERNEL_V_2_6_25_1
    68     bool
    69     prompt "2.6.25.1"
    70 
    71 config KERNEL_V_2_6_25_2
    72     bool
    73     prompt "2.6.25.2"
    74 
    75 config KERNEL_V_2_6_25_3
    76     bool
    77     prompt "2.6.25.3"
    78 
    79 config KERNEL_V_2_6_25_4
    80     bool
    81     prompt "2.6.25.4"
    82 
    83 config KERNEL_V_2_6_25_5
    84     bool
    85     prompt "2.6.25.5"
    86 
    87 config KERNEL_V_2_6_25_6
    88     bool
    89     prompt "2.6.25.6"
    90 
    91 config KERNEL_V_2_6_25_7
    92     bool
    93     prompt "2.6.25.7"
    94 
    95 config KERNEL_V_2_6_25_8
    96     bool
    97     prompt "2.6.25.8"
    98 
    99 config KERNEL_V_2_6_25_9
   100     bool
   101     prompt "2.6.25.9"
   102 
   103 config KERNEL_V_2_6_25_10
   104     bool
   105     prompt "2.6.25.10"
   106 
   107 config KERNEL_V_2_6_25_11
   108     bool
   109     prompt "2.6.25.11"
   110 
   111 config KERNEL_V_2_6_25_12
   112     bool
   113     prompt "2.6.25.12"
   114 
   115 config KERNEL_V_2_6_25_13
   116     bool
   117     prompt "2.6.25.13"
   118 
   119 config KERNEL_V_2_6_25_14
   120     bool
   121     prompt "2.6.25.14"
   122 
   123 config KERNEL_V_2_6_25_15
   124     bool
   125     prompt "2.6.25.15"
   126 
   127 config KERNEL_V_2_6_25_16
   128     bool
   129     prompt "2.6.25.16"
   130 
   131 config KERNEL_V_2_6_25_17
   132     bool
   133     prompt "2.6.25.17"
   134 
   135 config KERNEL_V_2_6_26
   136     bool
   137     prompt "2.6.26"
   138 
   139 config KERNEL_V_2_6_26_1
   140     bool
   141     prompt "2.6.26.1"
   142 
   143 config KERNEL_V_2_6_26_2
   144     bool
   145     prompt "2.6.26.2"
   146 
   147 config KERNEL_V_2_6_26_3
   148     bool
   149     prompt "2.6.26.3"
   150 
   151 config KERNEL_V_2_6_26_4
   152     bool
   153     prompt "2.6.26.4"
   154 
   155 config KERNEL_V_2_6_26_5
   156     bool
   157     prompt "2.6.26.5"
   158 
   159 # CT_INSERT_VERSION_ABOVE
   160 # Don't remove above line!
   161 endchoice
   162 
   163 config KERNEL_VERSION
   164     string
   165     default "2.6.18.8" if KERNEL_V_2_6_18_8
   166     default "2.6.19.7" if KERNEL_V_2_6_19_7
   167     default "2.6.20.21" if KERNEL_V_2_6_20_21
   168     default "2.6.21.7" if KERNEL_V_2_6_21_7
   169     default "2.6.22.19" if KERNEL_V_2_6_22_19
   170     default "2.6.23.17" if KERNEL_V_2_6_23_17
   171     default "2.6.24.7" if KERNEL_V_2_6_24_7
   172     default "2.6.25" if KERNEL_V_2_6_25
   173     default "2.6.25.1" if KERNEL_V_2_6_25_1
   174     default "2.6.25.2" if KERNEL_V_2_6_25_2
   175     default "2.6.25.3" if KERNEL_V_2_6_25_3
   176     default "2.6.25.4" if KERNEL_V_2_6_25_4
   177     default "2.6.25.5" if KERNEL_V_2_6_25_5
   178     default "2.6.25.6" if KERNEL_V_2_6_25_6
   179     default "2.6.25.7" if KERNEL_V_2_6_25_7
   180     default "2.6.25.8" if KERNEL_V_2_6_25_8
   181     default "2.6.25.9" if KERNEL_V_2_6_25_9
   182     default "2.6.25.10" if KERNEL_V_2_6_25_10
   183     default "2.6.25.11" if KERNEL_V_2_6_25_11
   184     default "2.6.25.12" if KERNEL_V_2_6_25_12
   185     default "2.6.25.13" if KERNEL_V_2_6_25_13
   186     default "2.6.25.14" if KERNEL_V_2_6_25_14
   187     default "2.6.25.14" if KERNEL_V_2_6_25_15
   188     default "2.6.25.15" if KERNEL_V_2_6_25_16
   189     default "2.6.25.15" if KERNEL_V_2_6_25_17
   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 # CT_INSERT_VERSION_STRING_ABOVE
   197 # Don't remove above line!
   198 
   199 choice
   200     bool
   201     prompt "Kernel verbosity:"
   202     default KERNEL_LINUX_VERBOSITY_0
   203 
   204 config KERNEL_LINUX_VERBOSITY_0
   205     bool
   206     prompt "Simplified"
   207     help
   208       Print simplified command lines.
   209 
   210 config KERNEL_LINUX_VERBOSITY_1
   211     bool
   212     prompt "Full commands"
   213     help
   214       Print full command lines.
   215 
   216 config KERNEL_LINUX_VERBOSITY_2
   217     bool
   218     prompt "Exec reasons"
   219     help
   220       Print the reasons why a make target is rebuild.
   221 
   222 endchoice
   223 
   224 config KERNEL_LINUX_VERBOSE_LEVEL
   225     int
   226     default 0 if KERNEL_LINUX_VERBOSITY_0
   227     default 1 if KERNEL_LINUX_VERBOSITY_1
   228     default 2 if KERNEL_LINUX_VERBOSITY_2
   229 
   230 endif
   231 
   232 config KERNEL_LINUX_USE_CUSTOM_DIR
   233     bool
   234     prompt "Use custom directory"
   235     help
   236       If you have some kernel headers lying around, you can enter the path
   237       below.
   238 
   239 config KERNEL_LINUX_CUSTOM_DIR
   240     string
   241     prompt "Where are those custom headers?"
   242     depends on KERNEL_LINUX_USE_CUSTOM_DIR
   243     help
   244       Enter the base directory where the headers are to be found.
   245       
   246       Eg. if the headers are in /some/place/include, then enter /some/place.
   247           This is the same path you entered when you typed:
   248             make INSTALL_HDR_PATH=/some/place headers_install
   249 
   250 endchoice