config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 20 20:13:13 2009 +0000 (2009-05-20)
changeset 1345 27fec561af53
parent 1337 7f742f73c2d1
child 1350 29cdf662fad4
permissions -rw-r--r--
Merge the uClinux/noMMU stuff back to /trunk:
- merge Linux and uClinux back to a single kernel
- add ARCH_USE_MMU and acquainted config options that
architectures can auto-select
- make binutils and elf2flt two "Binary utilities" that
go in a single common sub-{menu,directory} structure

-------- diffstat follows --------
/trunk/scripts/build/kernel/uclinux.sh | 2 0 2 0 -
/trunk/scripts/build/kernel/linux.sh | 206 204 2 0 +++++++++++++++++++++++++++++
/trunk/scripts/build/kernel/linux-common.sh | 198 0 198 0 ----------------------------
/trunk/scripts/build/binutils.sh | 232 0 232 0 --------------------------------
/trunk/scripts/build/elf2flt.sh | 150 0 150 0 ---------------------
/trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 +
/trunk/config/kernel/linux.in | 249 249 0 0 +++++++++++++++++++++++++++++++++++
/trunk/config/kernel/linux.in-common | 252 0 252 0 -----------------------------------
/trunk/config/kernel/uclinux.in | 21 0 21 0 ---
/trunk/config/target.in | 23 22 1 0 +++
/trunk/config/elf2flt.in | 49 0 49 0 -------
/trunk/config/libc/glibc.in | 2 1 1 0
/trunk/config/libc/eglibc.in | 2 1 1 0
/trunk/config/config.in | 1 0 1 0 -
/trunk/config/arch/sh.in | 1 1 0 0 +
/trunk/config/arch/arm.in | 2 1 1 0
/trunk/config/arch/powerpc.in | 1 1 0 0 +
/trunk/config/arch/ia64.in | 1 1 0 0 +
/trunk/config/arch/alpha.in | 1 1 0 0 +
/trunk/config/arch/x86.in | 1 1 0 0 +
/trunk/config/arch/mips.in | 1 1 0 0 +
/trunk/config/arch/powerpc64.in | 1 1 0 0 +
22 files changed, 489 insertions(+), 913 deletions(-)
     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_22
    80     bool
    81     prompt "2.6.27.22 (OBSOLETE)"
    82     depends on OBSOLETE
    83 
    84 config KERNEL_V_2_6_28
    85     bool
    86     prompt "2.6.28"
    87 
    88 config KERNEL_V_2_6_28_1
    89     bool
    90     prompt "2.6.28.1"
    91 
    92 config KERNEL_V_2_6_28_2
    93     bool
    94     prompt "2.6.28.2"
    95 
    96 config KERNEL_V_2_6_28_3
    97     bool
    98     prompt "2.6.28.3"
    99 
   100 config KERNEL_V_2_6_28_4
   101     bool
   102     prompt "2.6.28.4"
   103 
   104 config KERNEL_V_2_6_28_5
   105     bool
   106     prompt "2.6.28.5"
   107 
   108 config KERNEL_V_2_6_28_6
   109     bool
   110     prompt "2.6.28.6"
   111 
   112 config KERNEL_V_2_6_28_7
   113     bool
   114     prompt "2.6.28.7"
   115 
   116 config KERNEL_V_2_6_28_8
   117     bool
   118     prompt "2.6.28.8"
   119 
   120 config KERNEL_V_2_6_28_9
   121     bool
   122     prompt "2.6.28.9"
   123 
   124 config KERNEL_V_2_6_28_10
   125     bool
   126     prompt "2.6.28.10"
   127 
   128 config KERNEL_V_2_6_29
   129     bool
   130     prompt "2.6.29"
   131 
   132 config KERNEL_V_2_6_29_1
   133     bool
   134     prompt "2.6.29.1"
   135 
   136 config KERNEL_V_2_6_29_2
   137     bool
   138     prompt "2.6.29.2"
   139 
   140 # CT_INSERT_VERSION_ABOVE
   141 # Don't remove above line!
   142 
   143 config KERNEL_V_select
   144     bool
   145     prompt "Other version (EXPERIMENTAL)"
   146     depends on EXPERIMENTAL
   147 
   148 endchoice
   149 
   150 config KERNEL_VERSION
   151     string
   152     prompt "Kernel version" if KERNEL_V_select
   153     default "2.6.18.8" if KERNEL_V_2_6_18_8
   154     default "2.6.19.7" if KERNEL_V_2_6_19_7
   155     default "2.6.20.21" if KERNEL_V_2_6_20_21
   156     default "2.6.21.7" if KERNEL_V_2_6_21_7
   157     default "2.6.22.19" if KERNEL_V_2_6_22_19
   158     default "2.6.23.17" if KERNEL_V_2_6_23_17
   159     default "2.6.24.7" if KERNEL_V_2_6_24_7
   160     default "2.6.25.20" if KERNEL_V_2_6_25_20
   161     default "2.6.26.8" if KERNEL_V_2_6_26_8
   162     default "2.6.27.22" if KERNEL_V_2_6_27_22
   163     default "2.6.28" if KERNEL_V_2_6_28
   164     default "2.6.28.1" if KERNEL_V_2_6_28_1
   165     default "2.6.28.2" if KERNEL_V_2_6_28_2
   166     default "2.6.28.3" if KERNEL_V_2_6_28_3
   167     default "2.6.28.4" if KERNEL_V_2_6_28_4
   168     default "2.6.28.5" if KERNEL_V_2_6_28_5
   169     default "2.6.28.6" if KERNEL_V_2_6_28_6
   170     default "2.6.28.7" if KERNEL_V_2_6_28_7
   171     default "2.6.28.8" if KERNEL_V_2_6_28_8
   172     default "2.6.28.9" if KERNEL_V_2_6_28_9
   173     default "2.6.28.10" if KERNEL_V_2_6_28_10
   174     default "2.6.29" if KERNEL_V_2_6_29
   175     default "2.6.29.1" if KERNEL_V_2_6_29_1
   176     default "2.6.29.2" if KERNEL_V_2_6_29_2
   177 # CT_INSERT_VERSION_STRING_ABOVE
   178 # Don't remove above line!
   179     help
   180       Enter here the kernel version you want to use, if it is
   181       not listed above. Something like V.P.S or V.P.S.E, where:
   182         V: VERSION
   183         P: PATCHLEVEL
   184         S: SUBLEVEL
   185         E: EXTRAVERSION
   186 
   187 choice
   188     bool
   189     prompt "Kernel verbosity:"
   190     default KERNEL_LINUX_VERBOSITY_0
   191 
   192 config KERNEL_LINUX_VERBOSITY_0
   193     bool
   194     prompt "Simplified"
   195     help
   196       Print simplified command lines.
   197 
   198 config KERNEL_LINUX_VERBOSITY_1
   199     bool
   200     prompt "Full commands"
   201     help
   202       Print full command lines.
   203 
   204 config KERNEL_LINUX_VERBOSITY_2
   205     bool
   206     prompt "Exec reasons"
   207     help
   208       Print the reasons why a make target is rebuild.
   209 
   210 endchoice
   211 
   212 config KERNEL_LINUX_VERBOSE_LEVEL
   213     int
   214     default 0 if KERNEL_LINUX_VERBOSITY_0
   215     default 1 if KERNEL_LINUX_VERBOSITY_1
   216     default 2 if KERNEL_LINUX_VERBOSITY_2
   217 
   218 endif
   219 
   220 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   221     bool
   222     prompt "Use custom headers"
   223     help
   224       If you have some kernel headers lying around, you can enter the path
   225       below.
   226 
   227 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   228 
   229 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   230     bool
   231     prompt "This is a tarball"
   232     default n
   233     help
   234       If you say 'n' here, the path below is expected to point to a directory
   235       containing readily prepared headers
   236       
   237       If you say 'y' here, then the path below is expected to point to a
   238       tarball of such a directory.
   239       
   240       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   241       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   242       
   243       Now, passing a tarball around is easier than passing a directory, so
   244       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   245       say 'y' here, and enter the path to this tarball below.
   246 
   247 config KERNEL_LINUX_CUSTOM_PATH
   248     string
   249     prompt "Path to custom headers directory/tarball"
   250     help
   251       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   252 
   253 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   254 
   255 endchoice