config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 31 13:12:55 2010 +0100 (2010-01-31)
branchcanadian
changeset 1773 3d8aa8627d16
parent 1345 27fec561af53
child 1435 78a899c028c4
permissions -rw-r--r--
canadian: close devel branch (merged)
     1 # Linux kernel options
     2 
     3 # Linux kernel options
     4 
     5 config KERNEL_linux
     6     help
     7       Build a toolchain targeting systems running Linux as a kernel.
     8 
     9 choice
    10     bool
    11     prompt "Get kernel headers from:"
    12 
    13 config KERNEL_LINUX_INSTALL
    14     bool
    15     prompt "kernel's 'headers_install'"
    16     help
    17       This will make use of the new headers_install rule in recent kernels.
    18       This is most probably what you want to use.
    19 
    20 if KERNEL_LINUX_INSTALL
    21 
    22 config KERNEL_LINUX_INSTALL_CHECK
    23     bool
    24     prompt "Check installed headers"
    25     default y
    26     help
    27       If you are in doubt that installed headers are buggy, say 'Y'
    28       here to have an extra check passed onto the headers.
    29 
    30 choice
    31     bool
    32     prompt "Linux kernel version"
    33 
    34 config KERNEL_V_2_6_18_8
    35     bool
    36     prompt "2.6.18.8 (OBSOLETE)"
    37     depends on OBSOLETE
    38 
    39 config KERNEL_V_2_6_19_7
    40     bool
    41     prompt "2.6.19.7 (OBSOLETE)"
    42     depends on OBSOLETE
    43 
    44 config KERNEL_V_2_6_20_21
    45     bool
    46     prompt "2.6.20.21 (OBSOLETE)"
    47     depends on OBSOLETE
    48 
    49 config KERNEL_V_2_6_21_7
    50     bool
    51     prompt "2.6.21.7 (OBSOLETE)"
    52     depends on OBSOLETE
    53 
    54 config KERNEL_V_2_6_22_19
    55     bool
    56     prompt "2.6.22.19 (OBSOLETE)"
    57     depends on OBSOLETE
    58 
    59 config KERNEL_V_2_6_23_17
    60     bool
    61     prompt "2.6.23.17 (OBSOLETE)"
    62     depends on OBSOLETE
    63 
    64 config KERNEL_V_2_6_24_7
    65     bool
    66     prompt "2.6.24.7 (OBSOLETE)"
    67     depends on OBSOLETE
    68 
    69 config KERNEL_V_2_6_25_20
    70     bool
    71     prompt "2.6.25.20 (OBSOLETE)"
    72     depends on OBSOLETE
    73 
    74 config KERNEL_V_2_6_26_8
    75     bool
    76     prompt "2.6.26.8 (OBSOLETE)"
    77     depends on OBSOLETE
    78 
    79 config KERNEL_V_2_6_27_24
    80     bool
    81     prompt "2.6.27.24"
    82 
    83 config KERNEL_V_2_6_28_10
    84     bool
    85     prompt "2.6.28.10"
    86 
    87 config KERNEL_V_2_6_29
    88     bool
    89     prompt "2.6.29"
    90 
    91 config KERNEL_V_2_6_29_1
    92     bool
    93     prompt "2.6.29.1"
    94 
    95 config KERNEL_V_2_6_29_2
    96     bool
    97     prompt "2.6.29.2"
    98 
    99 config KERNEL_V_2_6_29_3
   100     bool
   101     prompt "2.6.29.3"
   102 
   103 config KERNEL_V_2_6_29_4
   104     bool
   105     prompt "2.6.29.4"
   106 
   107 # CT_INSERT_VERSION_ABOVE
   108 # Don't remove above line!
   109 
   110 config KERNEL_V_select
   111     bool
   112     prompt "Other version (EXPERIMENTAL)"
   113     depends on EXPERIMENTAL
   114 
   115 endchoice
   116 
   117 config KERNEL_VERSION
   118     string
   119     prompt "Kernel version" if KERNEL_V_select
   120     default "2.6.18.8" if KERNEL_V_2_6_18_8
   121     default "2.6.19.7" if KERNEL_V_2_6_19_7
   122     default "2.6.20.21" if KERNEL_V_2_6_20_21
   123     default "2.6.21.7" if KERNEL_V_2_6_21_7
   124     default "2.6.22.19" if KERNEL_V_2_6_22_19
   125     default "2.6.23.17" if KERNEL_V_2_6_23_17
   126     default "2.6.24.7" if KERNEL_V_2_6_24_7
   127     default "2.6.25.20" if KERNEL_V_2_6_25_20
   128     default "2.6.26.8" if KERNEL_V_2_6_26_8
   129     default "2.6.27.24" if KERNEL_V_2_6_27_24
   130     default "2.6.28.10" if KERNEL_V_2_6_28_10
   131     default "2.6.29" if KERNEL_V_2_6_29
   132     default "2.6.29.1" if KERNEL_V_2_6_29_1
   133     default "2.6.29.2" if KERNEL_V_2_6_29_2
   134     default "2.6.29.3" if KERNEL_V_2_6_29_3
   135     default "2.6.29.4" if KERNEL_V_2_6_29_4
   136 # CT_INSERT_VERSION_STRING_ABOVE
   137 # Don't remove above line!
   138     help
   139       Enter here the kernel version you want to use, if it is
   140       not listed above. Something like V.P.S or V.P.S.E, where:
   141         V: VERSION
   142         P: PATCHLEVEL
   143         S: SUBLEVEL
   144         E: EXTRAVERSION
   145 
   146 choice
   147     bool
   148     prompt "Kernel verbosity:"
   149     default KERNEL_LINUX_VERBOSITY_0
   150 
   151 config KERNEL_LINUX_VERBOSITY_0
   152     bool
   153     prompt "Simplified"
   154     help
   155       Print simplified command lines.
   156 
   157 config KERNEL_LINUX_VERBOSITY_1
   158     bool
   159     prompt "Full commands"
   160     help
   161       Print full command lines.
   162 
   163 config KERNEL_LINUX_VERBOSITY_2
   164     bool
   165     prompt "Exec reasons"
   166     help
   167       Print the reasons why a make target is rebuild.
   168 
   169 endchoice
   170 
   171 config KERNEL_LINUX_VERBOSE_LEVEL
   172     int
   173     default 0 if KERNEL_LINUX_VERBOSITY_0
   174     default 1 if KERNEL_LINUX_VERBOSITY_1
   175     default 2 if KERNEL_LINUX_VERBOSITY_2
   176 
   177 endif
   178 
   179 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   180     bool
   181     prompt "Use custom headers"
   182     help
   183       If you have some kernel headers lying around, you can enter the path
   184       below.
   185 
   186 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   187 
   188 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   189     bool
   190     prompt "This is a tarball"
   191     default n
   192     help
   193       If you say 'n' here, the path below is expected to point to a directory
   194       containing readily prepared headers
   195       
   196       If you say 'y' here, then the path below is expected to point to a
   197       tarball of such a directory.
   198       
   199       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   200       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   201       
   202       Now, passing a tarball around is easier than passing a directory, so
   203       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   204       say 'y' here, and enter the path to this tarball below.
   205 
   206 config KERNEL_LINUX_CUSTOM_PATH
   207     string
   208     prompt "Path to custom headers directory/tarball"
   209     help
   210       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   211 
   212 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   213 
   214 endchoice