config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue May 18 22:59:00 2010 +0200 (2010-05-18)
branch1.7
changeset 1950 492937e513a0
parent 1947 e7f7220b5ba2
permissions -rw-r--r--
Revert changeset e7f7220b5ba2

Arnaud LACOMBE rightly pointed out that this was done on the wrong branch.
     1 # Linux kernel options
     2 
     3 # Linux kernel options
     4 
     5 config KERNEL_linux
     6     select KERNEL_SUPPORTS_SHARED_LIBS
     7     help
     8       Build a toolchain targeting systems running Linux as a kernel.
     9 
    10 choice
    11     bool
    12     prompt "Get kernel headers from:"
    13 
    14 config KERNEL_LINUX_INSTALL
    15     bool
    16     prompt "kernel's 'headers_install'"
    17     help
    18       This will make use of the new headers_install rule in recent kernels.
    19       This is most probably what you want to use.
    20 
    21 if KERNEL_LINUX_INSTALL
    22 
    23 config KERNEL_LINUX_INSTALL_CHECK
    24     bool
    25     prompt "Check installed headers"
    26     default y
    27     help
    28       If you are in doubt that installed headers are buggy, say 'Y'
    29       here to have an extra check passed onto the headers.
    30 
    31 choice
    32     bool
    33     prompt "Linux kernel version"
    34 # Don't remove next line
    35 # CT_INSERT_VERSION_BELOW
    36 
    37 config KERNEL_V_2_6_33_2
    38     bool
    39     prompt "2.6.33.2"
    40 
    41 config KERNEL_V_2_6_33_1
    42     bool
    43     prompt "2.6.33.1"
    44 
    45 config KERNEL_V_2_6_33
    46     bool
    47     prompt "2.6.33"
    48 
    49 config KERNEL_V_2_6_32_11
    50     bool
    51     prompt "2.6.32.11"
    52 
    53 config KERNEL_V_2_6_31_13
    54     bool
    55     prompt "2.6.31.13"
    56 
    57 config KERNEL_V_2_6_30_10
    58     bool
    59     prompt "2.6.30.10"
    60 
    61 config KERNEL_V_2_6_29_6
    62     bool
    63     prompt "2.6.29.6 (OBSOLETE)"
    64     depends on OBSOLETE
    65 
    66 config KERNEL_V_2_6_28_10
    67     bool
    68     prompt "2.6.28.10 (OBSOLETE)"
    69     depends on OBSOLETE
    70 
    71 config KERNEL_V_2_6_27_46
    72     bool
    73     prompt "2.6.27.46 (long-term stable)"
    74     help
    75       The Linux 2.6.27 tree is the current "long-term stable" maintenance branch.
    76       It is intended to fill the niche for users who are not using distribution
    77       kernels but want to use a regression-free kernel for a longer time.
    78       
    79       Critical bug fixes to later 2.6 releases are often ported to this branch
    80       which makes 2.6.27 a very useful base for many embedded developers seeking
    81       stable APIs or those who do not need the latest bleeding edge features.
    82       
    83       ... and no, this kernel has not undergone any specific QA testing.
    84       
    85       See the original announcement by Adrian Bunk in the following mailing list
    86       entry: http://marc.info/?l=linux-kernel&m=122375909403298&w=2
    87 
    88 endchoice
    89 
    90 config KERNEL_VERSION
    91     string
    92 # Don't remove next line
    93 # CT_INSERT_VERSION_STRING_BELOW
    94     default "2.6.33.2" if KERNEL_V_2_6_33_2
    95     default "2.6.33.1" if KERNEL_V_2_6_33_1
    96     default "2.6.33" if KERNEL_V_2_6_33
    97     default "2.6.32.11" if KERNEL_V_2_6_32_11
    98     default "2.6.31.13" if KERNEL_V_2_6_31_13
    99     default "2.6.30.10" if KERNEL_V_2_6_30_10
   100     default "2.6.29.6" if KERNEL_V_2_6_29_6
   101     default "2.6.28.10" if KERNEL_V_2_6_28_10
   102     default "2.6.27.46" if KERNEL_V_2_6_27_46
   103 
   104 choice
   105     bool
   106     prompt "Kernel verbosity:"
   107     default KERNEL_LINUX_VERBOSITY_0
   108 
   109 config KERNEL_LINUX_VERBOSITY_0
   110     bool
   111     prompt "Simplified"
   112     help
   113       Print simplified command lines.
   114 
   115 config KERNEL_LINUX_VERBOSITY_1
   116     bool
   117     prompt "Full commands"
   118     help
   119       Print full command lines.
   120 
   121 config KERNEL_LINUX_VERBOSITY_2
   122     bool
   123     prompt "Exec reasons"
   124     help
   125       Print the reasons why a make target is rebuild.
   126 
   127 endchoice
   128 
   129 config KERNEL_LINUX_VERBOSE_LEVEL
   130     int
   131     default 0 if KERNEL_LINUX_VERBOSITY_0
   132     default 1 if KERNEL_LINUX_VERBOSITY_1
   133     default 2 if KERNEL_LINUX_VERBOSITY_2
   134 
   135 endif
   136 
   137 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   138     bool
   139     prompt "Use custom headers"
   140     help
   141       If you have some kernel headers lying around, you can enter the path
   142       below.
   143 
   144 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   145 
   146 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   147     bool
   148     prompt "This is a tarball"
   149     default n
   150     help
   151       If you say 'n' here, the path below is expected to point to a directory
   152       containing readily prepared headers
   153       
   154       If you say 'y' here, then the path below is expected to point to a
   155       tarball of such a directory.
   156       
   157       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   158       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   159       
   160       Now, passing a tarball around is easier than passing a directory, so
   161       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   162       say 'y' here, and enter the path to this tarball below.
   163 
   164 config KERNEL_LINUX_CUSTOM_PATH
   165     string
   166     prompt "Path to custom headers directory/tarball"
   167     help
   168       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   169 
   170 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   171 
   172 endchoice