Browse Source

Add the full crosstool-NG sources to the new repository of its own.

You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
1.1
Yann E. MORIN" 16 years ago
parent
commit
1906cf93f8
  1. 67
      .cdtproject
  2. 34
      .project
  3. 3
      .settings/org.eclipse.cdt.core.prefs
  4. 21
      COPYING
  5. 9
      CREDITS
  6. 1
      LICENSES
  7. 46
      Makefile
  8. 9
      README
  9. 133
      config/binutils.in
  10. 185
      config/cc.in
  11. 137
      config/cc_core_gcc.in
  12. 0
      config/cc_core_tcc.in
  13. 131
      config/cc_gcc.in
  14. 0
      config/cc_tcc.in
  15. 6
      config/config.in
  16. 256
      config/global.in
  17. 36
      config/kernel.in
  18. 5
      config/kernel_cygwin.in
  19. 102
      config/kernel_linux.in
  20. 682
      config/kernel_linux_headers_copy.in
  21. 75
      config/kernel_linux_headers_install.in
  22. 62
      config/kernel_linux_headers_sanitised.in
  23. 36
      config/libc.in
  24. 199
      config/libc_glibc.in
  25. 92
      config/libc_uClibc.in
  26. 300
      config/target.in
  27. 108
      docs/overview.txt
  28. 71
      kconfig/Makefile
  29. 623
      kconfig/conf.c
  30. 800
      kconfig/confdata.c
  31. 1100
      kconfig/expr.c
  32. 202
      kconfig/expr.h
  33. 2350
      kconfig/lex.zconf.c_shipped
  34. 157
      kconfig/lkc.h
  35. 42
      kconfig/lkc_proto.h
  36. 4
      kconfig/lxdialog/BIG.FAT.WARNING
  37. 84
      kconfig/lxdialog/check-lxdialog.sh
  38. 325
      kconfig/lxdialog/checklist.c
  39. 224
      kconfig/lxdialog/dialog.h
  40. 238
      kconfig/lxdialog/inputbox.c
  41. 434
      kconfig/lxdialog/menubox.c
  42. 391
      kconfig/lxdialog/textbox.c
  43. 642
      kconfig/lxdialog/util.c
  44. 114
      kconfig/lxdialog/yesno.c
  45. 919
      kconfig/mconf.c
  46. 419
      kconfig/menu.c
  47. 882
      kconfig/symbol.c
  48. 111
      kconfig/util.c
  49. 242
      kconfig/zconf.hash.c_shipped
  50. 2345
      kconfig/zconf.tab.c_shipped
  51. 306
      licenses/by-sa/deed.en
  52. BIN
      licenses/by-sa/deed_files/deed.gif
  53. BIN
      licenses/by-sa/deed_files/deed_002.gif
  54. 54
      licenses/by-sa/deed_files/deeds.css
  55. BIN
      licenses/by-sa/deed_files/logo_deed.gif
  56. BIN
      licenses/by-sa/deed_files/popup.gif
  57. 378
      licenses/by-sa/legalcode
  58. 54
      licenses/by-sa/legalcode_files/deeds.css
  59. BIN
      licenses/by-sa/legalcode_files/logo_code.gif
  60. 339
      licenses/gpl.txt
  61. 504
      licenses/lgpl.txt
  62. 28
      patches/binutils/2.11.2/gcc-pr3106.patch
  63. 6
      patches/binutils/2.13.90.0.2/README
  64. 96
      patches/binutils/2.13.90.0.2/rh62-binutils-2.11.93.0.2-sparc-nonpic.patch
  65. 58
      patches/binutils/2.13.90.0.2/rh62-binutils-2.13.90.0.2-glibc21.patch
  66. 372
      patches/binutils/2.13.90.0.2/rh62-binutils-2.13.90.0.2-gotpc.patch
  67. 27
      patches/binutils/2.13.90.0.2/rh62-binutils-2.13.90.0.2-tpoff32.patch
  68. 11
      patches/binutils/2.14.90.0.5/binutils-cross-demangler.patch
  69. 38
      patches/binutils/2.14.90.0.5/binutils-sh-relocs.patch
  70. 11
      patches/binutils/2.14.90.0.7/binutils-cross-demangler.patch
  71. 101
      patches/binutils/2.14.92/binutils-skip-comments.patch
  72. 192
      patches/binutils/2.14.92/gccpr15247-fix.patch
  73. 38
      patches/binutils/2.14/binutils-sh-relocs.patch
  74. 118
      patches/binutils/2.15.90.0.3/binutils-20040817-linkonce.patch
  75. 74
      patches/binutils/2.15.90.0.3/binutils-20040820-duplicates.patch
  76. 101
      patches/binutils/2.15.90.0.3/binutils-skip-comments.patch
  77. 192
      patches/binutils/2.15.90.0.3/gccpr15247-fix.patch
  78. 118
      patches/binutils/2.15.91.0.2/binutils-20040817-linkonce.patch
  79. 68
      patches/binutils/2.15.91.0.2/binutils-dup-sections.patch
  80. 101
      patches/binutils/2.15.91.0.2/binutils-skip-comments.patch
  81. 144
      patches/binutils/2.15/002-uclibc.patch
  82. 692
      patches/binutils/2.15/100-uclibc-conf.patch
  83. 32
      patches/binutils/2.15/210-cflags.patch
  84. 26
      patches/binutils/2.15/400-mips-ELF_MAXPAGESIZE-4K.patch
  85. 63
      patches/binutils/2.15/600-arm-textrel.patch
  86. 24
      patches/binutils/2.15/bfd-hash-tweak.patch
  87. 75
      patches/binutils/2.15/binutils-2.15-allow-gcc-4.0.patch
  88. 40
      patches/binutils/2.15/binutils-2.15-psignal.patch
  89. 22
      patches/binutils/2.15/binutils-2.15-solaris-qsort.patch
  90. 45
      patches/binutils/2.15/binutils-2.15-vmx.patch
  91. 51
      patches/binutils/2.15/binutils-arm-undef-imm.patch
  92. 101
      patches/binutils/2.15/binutils-skip-comments.patch
  93. 22
      patches/binutils/2.15/cross-gprof.patch
  94. 192
      patches/binutils/2.15/gccpr15247-fix.patch
  95. 677
      patches/binutils/2.15/ld-2.15-callahan.patch
  96. 33
      patches/binutils/2.15/ld-2.15-stabs-tweak.patch
  97. 42
      patches/binutils/2.15/s390-invalid-insn-format.patch
  98. 23
      patches/binutils/2.16.1/bfd-hash-tweak.patch
  99. 40
      patches/binutils/2.16.1/binutils-2.15-psignal.patch
  100. 95
      patches/binutils/2.16.1/binutils-skip-comments.patch
  101. Some files were not shown because too many files have changed in this diff Show More

67
.cdtproject

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse-cdt version="2.0"?>
<cdtproject id="org.eclipse.cdt.make.core.make">
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<data>
<item id="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile"/>
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
<buildOutputProvider>
<openAction enabled="false" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="makefileGenerator">
<runAction arguments="-f ${project_name}_scd.mk" command="make" useDefault="true"/>
<parser enabled="false"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="false" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="false"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="false" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="false"/>
</scannerInfoProvider>
</profile>
</item>
<item id="org.eclipse.cdt.core.pathentry">
<pathentry kind="src" path=""/>
<pathentry kind="out" path=""/>
<pathentry kind="con" path="org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"/>
</item>
<item id="org.eclipse.cdt.make.core.buildtargets">
<buildTargets>
<target name="Build toolchain" path="" targetID="org.eclipse.cdt.make.MakeTargetBuilder">
<buildCommand>make</buildCommand>
<buildArguments/>
<buildTarget>all</buildTarget>
<stopOnError>true</stopOnError>
<useDefaultCommand>true</useDefaultCommand>
</target>
</buildTargets>
</item>
</data>
</cdtproject>

34
.project

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>crosstool-ng</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.make.core.makeBuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/org.eclipse.cdt.make.core.ScannerConfigBuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.make.core.makeNature</nature>
<nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature>
</natures>
</projectDescription>

3
.settings/org.eclipse.cdt.core.prefs

@ -0,0 +1,3 @@
#Sat Feb 17 16:17:18 CET 2007
eclipse.preferences.version=1
indexerId=org.eclipse.cdt.core.fastIndexer

21
COPYING

@ -0,0 +1,21 @@
Unless otherwise stated in individaul files, this work is licensed to you under
the following terms.
- Files in docs/ are available under the Creative Commons Attribution, Share
Alike (by-sa), v2.5, to be found there:
licenses/by-sa/deed.en (human-readable summary)
licenses/by-sa/legalcode (legal code, the full license)
- Files found in patches/uClibc/*/ are available under the GNU Lesser General
Public License (LGPL), v2.1, to be found here:
licenses/lgpl.txt
- Files found in patches/glibc/*/ are available under the GNU Lesser General
Public License (LGPL), v2.1, to be found there:
licenses/lgpl.txt
- Other files not covered by the above licenses, and not covered by an
individual license specified in the file itself, or an accompanying file,
are available under the GNU General Public License (GPL), v2, to be found
here:
licenses/gpl.txt

9
CREDITS

@ -0,0 +1,9 @@
I would like to thank these fine people for making crosstool-NG possible:
Dan KEGEL, the original author of crosstool: http://www.kegel.com/
Dan was very helpfull and willing to help when I build my first toolchains.
I owe him one. Thank you Dan!
Some crosstool-NG scripts have code snippets coming almost as-is from the
original work by Dan.
More to come as they help.

1
LICENSES

@ -0,0 +1 @@
COPYING

46
Makefile

@ -0,0 +1,46 @@
# Makefile for crosstool-NG.
# Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
# The project version
export PROJECTVERSION=0.0.1
# This should eventually be computed if compiling out-of-tree is implemented
export CT_TOP_DIR=$(shell pwd)
.PHONY: all
all: build
HOST_CC = gcc -funsigned-char
help::
@echo 'Available make targets (*: default target):'
@echo
include $(CT_TOP_DIR)/kconfig/Makefile
#include $(CT_TOP_DIR)/samples/Makefile
help::
@echo 'Build targets:'
@echo '* build - Build the toolchain'
@echo ' clean - Remove generated files'
@echo ' distclean - Remove generated files and configuration'
include $(CT_TOP_DIR)/tools/Makefile
.config: config/*.in
@make menuconfig
@# Because exiting menuconfig without saving is not an error to menuconfig
@test -f .config
# Actual build
build: .config
@$(CT_TOP_DIR)/scripts/crosstool.sh
.PHONY: clean
clean::
@rm -f .crosstool.config
.PHONY: distclean
distclean:: clean
@rm -f .config* ..config.tmp

9
README

@ -0,0 +1,9 @@
This is the README for crosstool-NG
To get you started, hust enter:
make help
You can find a (terse and WIP) documentation in docs/.
You can also point your browser to
http://ymorin.is-a-geek.org/dokuwiki/doku.php?id=projects:crosstool

133
config/binutils.in

@ -0,0 +1,133 @@
# binutils options
menu "binutils"
config BINUTILS_VERSION
string
choice
bool
prompt "binutils version"
config BINUTILS_V_2_11_2
bool
prompt "2.11.2"
config BINUTILS_V_2_13_90
bool
prompt "2.13.90"
config BINUTILS_V_2_14
bool
prompt "2.14"
config BINUTILS_V_2_14_90
bool
prompt "2.14.90"
config BINUTILS_V_2_14_92
bool
prompt "2.14.92"
config BINUTILS_V_2_15
bool
prompt "2.15"
config BINUTILS_V_2_15_90
bool
prompt "2.15.90"
config BINUTILS_V_2_15_91
bool
prompt "2.15.91"
config BINUTILS_V_2_16
bool
prompt "2.16"
config BINUTILS_V_2_16_1
bool
prompt "2.16.1"
config BINUTILS_V_2_17
bool
prompt "2.17"
config BINUTILS_V_2_17_50_0_1
bool
prompt "2.17.50.0.1"
config BINUTILS_V_2_17_50_0_2
bool
prompt "2.17.50.0.2"
config BINUTILS_V_2_17_50_0_3
bool
prompt "2.17.50.0.3"
config BINUTILS_V_2_17_50_0_4
bool
prompt "2.17.50.0.4"
config BINUTILS_V_2_17_50_0_5
bool
prompt "2.17.50.0.5"
config BINUTILS_V_2_17_50_0_6
bool
prompt "2.17.50.0.6"
config BINUTILS_V_2_17_50_0_7
bool
prompt "2.17.50.0.7"
config BINUTILS_V_2_17_50_0_8
bool
prompt "2.17.50.0.8"
config BINUTILS_V_2_17_50_0_9
bool
prompt "2.17.50.0.9"
config BINUTILS_V_2_17_50_0_10
bool
prompt "2.17.50.0.10"
# CT_INSERT_VERSION_ABOVE
# Don't remove qbove line!
endchoice
config BINUTILS_VERSION
string
default "2.11.2" if BINUTILS_V_2_11_2
default "2.13.90" if BINUTILS_V_2_13_90
default "2.14" if BINUTILS_V_2_14
default "2.14.90" if BINUTILS_V_2_14_90
default "2.14.92" if BINUTILS_V_2_14_92
default "2.15" if BINUTILS_V_2_15
default "2.15.90" if BINUTILS_V_2_15_90
default "2.15.91" if BINUTILS_V_2_15_91
default "2.16" if BINUTILS_V_2_16
default "2.16.1" if BINUTILS_V_2_16_1
default "2.17" if BINUTILS_V_2_17
default "2.17.50.0.1" if BINUTILS_V_2_17_50_0_1
default "2.17.50.0.2" if BINUTILS_V_2_17_50_0_2
default "2.17.50.0.3" if BINUTILS_V_2_17_50_0_3
default "2.17.50.0.4" if BINUTILS_V_2_17_50_0_4
default "2.17.50.0.5" if BINUTILS_V_2_17_50_0_5
default "2.17.50.0.6" if BINUTILS_V_2_17_50_0_6
default "2.17.50.0.7" if BINUTILS_V_2_17_50_0_7
default "2.17.50.0.8" if BINUTILS_V_2_17_50_0_8
default "2.17.50.0.9" if BINUTILS_V_2_17_50_0_9
default "2.17.50.0.10" if BINUTILS_V_2_17_50_0_10
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove qbove line!
config BINUTILS_EXTRA_CONFIG
string
prompt "binutils extra config"
default ""
help
Extra flags passed onto ./configure when configuring
endmenu

185
config/cc.in

@ -0,0 +1,185 @@
# Compiler options
menu "C compiler"
comment "Core C Compiler (used to build the C library)"
config CC_USE_CORE
bool
prompt "Use a different core C compiler"
default n
help
Use a different compiler to build the C library than the one
in the final toolchain.
You can change the compiler used, or only the version used.
You most probably don't need that.
config CC_CORE_GCC
bool
default y if ! CC_USE_CORE && CC_GCC
default n if CC_USE_CORE || ! CC_GCC
config CC_CORE_TCC
bool
default y if ! CC_USE_CORE && CC_TCC
default n if CC_USE_CORE || ! CC_TCC
choice
bool
prompt "Core C compiler:"
depends on CC_USE_CORE
config CC_CORE_GCC
bool
prompt "gcc"
#config CC_CORE_TCC
# bool
# prompt "tcc (EXPERIMENTAL)"
endchoice
config CC_CORE_VERSION
string
config CC_CORE
string
default "gcc" if CC_CORE_GCC
default "tcc" if CC_CORE_TCC
if CC_CORE_GCC && CC_USE_CORE
source config/cc_core_gcc.in
endif
if CC_CORE_TCC && CC_USE_CORE
source config/cc_core_tcc.in
endif
comment "Final C compiler"
choice
bool
prompt "Final C compiler"
default CC_GCC
config CC_GCC
bool
prompt "gcc"
select CC_SUPPORT_CXX
select CC_SUPPORT_FORTRAN
select CC_SUPPORT_JAVA
select CC_SUPPORT_ADA
select CC_SUPPORT_OBJC
select CC_SUPPORT_OBJCXX
#config CC_TCC
# bool
# prompt "tcc (EXPERIMENTAL)"
# select CC_LANG_C
endchoice
config CC_VERSION
string
config CC
string
default "gcc" if CC_GCC
default "tcc" if CC_TCC
if CC_GCC
source config/cc_gcc.in
endif
if CC_GCC
source config/cc_tcc.in
endif
config CC_SUPPORT_CXX
bool
config CC_SUPPORT_FORTRAN
bool
config CC_SUPPORT_JAVA
bool
config CC_SUPPORT_ADA
bool
config CC_SUPPORT_OBJC
bool
config CC_SUPPORT_OBJCXX
bool
comment "Additionnal supported languages:"
config CC_LANG_CXX
bool
prompt "C++"
default n
depends on CC_SUPPORT_CXX
help
Only select this if you know that your specific combination of
compiler and its version does support this language.
config CC_LANG_FORTRAN
bool
prompt "Fortran"
default n
depends on CC_SUPPORT_FORTRAN
help
Only select this if you know that your specific combination of
compiler and its version does support this language.
config CC_LANG_JAVA
bool
prompt "Java"
default n
depends on CC_SUPPORT_JAVA
help
Only select this if you know that your specific combination of
compiler and its version does support this language.
config CC_LANG_ADA
bool
prompt "ADA"
default n
depends on CC_SUPPORT_ADA
help
Only select this if you know that your specific combination of
compiler and its version does support this language.
config CC_LANG_OBJC
bool
prompt "Objective-C"
default n
depends on CC_SUPPORT_OBJC
help
Only select this if you know that your specific combination of
compiler and its version does support this language.
config CC_LANG_OBJCXX
bool
prompt "Objective-C++"
default n
depends on CC_SUPPORT_OBJCXX
help
Only select this if you know that your specific combination of
compiler and its version does support this language.
config CC_LANG_OTHERS
string
prompt "Other languages"
default ""
help
Enter here a comma-separated list of languages that you know your compiler
supports, besides those listed above.
Eg. gcc-4.1+ has a toy programming language, treelang. As it is not usefull
in real life, it is not available in the selection above.
endmenu

137
config/cc_core_gcc.in

@ -0,0 +1,137 @@
# Compiler options
choice
bool
prompt "Core gcc version"
config CC_CORE_V_2_95_3
bool
prompt "2.95.3"
config CC_CORE_V_3_2_3
bool
prompt "3.2.3"
config CC_CORE_V_3_3
bool
prompt "3.3"
config CC_CORE_V_3_3_1
bool
prompt "3.3.1"
config CC_CORE_V_3_3_2
bool
prompt "3.3.2"
config CC_CORE_V_3_3_3
bool
prompt "3.3.3"
config CC_CORE_V_3_3_4
bool
prompt "3.3.4"
config CC_CORE_V_3_3_5
bool
prompt "3.3.5"
config CC_CORE_V_3_3_6
bool
prompt "3.3.6"
config CC_CORE_V_3_4_0
bool
prompt "3.4.0"
config CC_CORE_V_3_4_1
bool
prompt "3.4.1"
config CC_CORE_V_3_4_2
bool
prompt "3.4.2"
config CC_CORE_V_3_4_3
bool
prompt "3.4.3"
config CC_CORE_V_3_4_4
bool
prompt "3.4.4"
config CC_CORE_V_3_4_5
bool
prompt "3.4.5"
config CC_CORE_V_3_4_6
bool
prompt "3.4.6"
config CC_CORE_V_4_0_0
bool
prompt "4.0.0"
config CC_CORE_V_4_0_1
bool
prompt "4.0.1"
config CC_CORE_V_4_0_2
bool
prompt "4.0.2"
config CC_CORE_V_4_0_3
bool
prompt "4.0.3"
config CC_CORE_V_4_0_4
bool
prompt "4.0.4"
config CC_CORE_V_4_1_0
bool
prompt "4.1.0"
config CC_CORE_V_4_1_1
bool
prompt "4.1.1"
# CT_INSERT_VERSION_ABOVE
# Don't remove above line!
endchoice
config CC_CORE_VERSION
string
default "2.95.3" if CC_CORE_V_2_95_3
default "3.2.3" if CC_CORE_V_3_2_3
default "3.3" if CC_CORE_V_3_3
default "3.3.1" if CC_CORE_V_3_3_1
default "3.3.2" if CC_CORE_V_3_3_2
default "3.3.3" if CC_CORE_V_3_3_3
default "3.3.4" if CC_CORE_V_3_3_4
default "3.3.5" if CC_CORE_V_3_3_5
default "3.3.6" if CC_CORE_V_3_3_6
default "3.4.0" if CC_CORE_V_3_4_0
default "3.4.1" if CC_CORE_V_3_4_1
default "3.4.2" if CC_CORE_V_3_4_2
default "3.4.3" if CC_CORE_V_3_4_3
default "3.4.4" if CC_CORE_V_3_4_4
default "3.4.5" if CC_CORE_V_3_4_5
default "3.4.6" if CC_CORE_V_3_4_6
default "4.0.0" if CC_CORE_V_4_0_0
default "4.0.1" if CC_CORE_V_4_0_1
default "4.0.2" if CC_CORE_V_4_0_2
default "4.0.3" if CC_CORE_V_4_0_3
default "4.0.4" if CC_CORE_V_4_0_4
default "4.1.0" if CC_CORE_V_4_1_0
default "4.1.1" if CC_CORE_V_4_1_1
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove above line!
config CC_CORE_EXTRA_CONFIG
string
prompt "Core gcc extra config"
default ""
depends on CC_USE_CORE && CC_CORE_GCC || ! CC_USE_CORE && CC_GCC
help
Extra flags to pass onto ./configure when configuring the core gcc.

0
config/cc_core_tcc.in

131
config/cc_gcc.in

@ -0,0 +1,131 @@
# Compiler options
choice
bool
prompt "Final gcc version"
config CC_V_2_95_3
bool
prompt "2.95.3"
config CC_V_3_2_3
bool
prompt "3.2.3"
config CC_V_3_3
bool
prompt "3.3"
config CC_V_3_3_1
bool
prompt "3.3.1"
config CC_V_3_3_2
bool
prompt "3.3.2"
config CC_V_3_3_3
bool
prompt "3.3.3"
config CC_V_3_3_4
bool
prompt "3.3.4"
config CC_V_3_3_5
bool
prompt "3.3.5"
config CC_V_3_3_6
bool
prompt "3.3.6"
config CC_V_3_4_0
bool
prompt "3.4.0"
config CC_V_3_4_1
bool
prompt "3.4.1"
config CC_V_3_4_2
bool
prompt "3.4.2"
config CC_V_3_4_3
bool
prompt "3.4.3"
config CC_V_3_4_4
bool
prompt "3.4.4"
config CC_V_3_4_5
bool
prompt "3.4.5"
config CC_V_4_0_0
bool
prompt "4.0.0"
config CC_V_4_0_1
bool
prompt "4.0.1"
config CC_V_4_0_2
bool
prompt "4.0.2"
config CC_V_4_0_3
bool
prompt "4.0.3"
config CC_V_4_0_4
bool
prompt "4.0.4"
config CC_V_4_1_0
bool
prompt "4.1.0"
config CC_V_4_1_1
bool
prompt "4.1.1"
# CT_INSERT_VERSION_ABOVE
# Don't remove above line!
endchoice
config CC_VERSION
string
default "2.95.3" if CC_V_2_95_3
default "3.2.3" if CC_V_3_2_3
default "3.3" if CC_V_3_3
default "3.3.1" if CC_V_3_3_1
default "3.3.2" if CC_V_3_3_2
default "3.3.3" if CC_V_3_3_3
default "3.3.4" if CC_V_3_3_4
default "3.3.5" if CC_V_3_3_5
default "3.3.6" if CC_V_3_3_6
default "3.4.0" if CC_V_3_4_0
default "3.4.1" if CC_V_3_4_1
default "3.4.2" if CC_V_3_4_2
default "3.4.3" if CC_V_3_4_3
default "3.4.4" if CC_V_3_4_4
default "3.4.5" if CC_V_3_4_5
default "4.0.0" if CC_V_4_0_0
default "4.0.1" if CC_V_4_0_1
default "4.0.2" if CC_V_4_0_2
default "4.0.3" if CC_V_4_0_3
default "4.0.4" if CC_V_4_0_4
default "4.1.0" if CC_V_4_1_0
default "4.1.1" if CC_V_4_1_1
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove above line!
config CC_EXTRA_CONFIG
string
prompt "Final gcc extra config"
default ""
help
Extra flags to pass onto ./configure when configuring gcc.

0
config/cc_tcc.in

6
config/config.in

@ -0,0 +1,6 @@
source config/global.in
source config/target.in
source config/kernel.in
source config/binutils.in
source config/cc.in
source config/libc.in

256
config/global.in

@ -0,0 +1,256 @@
# Overall toolchain configuration: paths, jobs, etc...
menu "Paths and misc options"
config PARALLEL_JOBS
int
prompt "Number of parallel jobs"
default 1
help
Number of jobs make will be allowed to run concurently.
Set this higher than the number of processors you have, but not too high.
A good rule of thumb is twice the number of processors you have.
Enter 1 (or 0) to have only one job at a time.
config LOAD
int
prompt "Maximum allowed load"
default 0
help
Specifies that no new jobs should be started if there are others jobs
running and the load average is at least this value.
Makes sense on SMP machines only.
Enter 0 to have no limit on the load average.
Note: only the integer part of the load is allowed here (you can't enter
0.75 for example).
config NICE
int
prompt "Nice level"
default 0
range 0 19
help
Renices the build process up.
config USE_PIPES
bool
prompt "Use -pipe"
default y
help
Use gcc's option -pipe to use pipes rather than temp files when building
the toolchain.
comment "Paths"
config TARBALLS_DIR
string
prompt "Tarballs directory"
default "`pwd`/tarballs"
help
This is the directory into which tarballs are going to be stored once
they are downloaded (or otherwise retrieved).
config SRC_DIR
string
prompt "Extract directory"
default "`pwd`/${CT_TARGET}/src"
help
This is the directory into which tarballs will be extracted.
If you will build multiple toolchains, you should arrange to have one
SRC_DIR for each toolchain, as different targets may require different
patches to be applied.
config BUILD_DIR
string
prompt "Build directory"
default "`pwd`/${CT_TARGET}/gcc-${CT_CC_VERSION}-${CT_LIBC}-${CT_LIBC_VERSION}"
help
This is the directory into which builds will occur.
Once again, arrange for one build directory for each toolchain you build,
to avoid collision.
config PREFIX_DIR
string
prompt "Prefix directory"
default "${HOME}/${CT_TARGET}"
help
This is the path the toolchain will run from.
config INSTALL_DIR
string
# prompt "Install directory"
default "${CT_PREFIX_DIR}"
# help
# This is the path the target will be installed into.
#
# Normally, you would set this to ${CT_PREFIX_DIR}, but if for some reasons
# you can't write there, you can install somewhere else and have a third
# person do the install for you.
# The reason you might also want to install elsewhere is if you are going
# to package your shinny new toolchain for distribution.
config CUSTOM_PATCH
bool
prompt "Use custom patch directory"
default n
help
If you have custom patches that you want to be applied, say 'Y' here and
enter the path directory below.
Note that you must ensure that the patch directory is arranged the same
way the official directory is.
config CUSTOM_PATCH_ONLY
bool
prompt "Only use custom patches"
default n
depends on CUSTOM_PATCH
help
Don't apply patches coming with CT-NG, only those patches available in
the directory below.
If you say 'N' here, then the patches provided with CT-NG will be applied
first, and then your patches.
config CUSTOM_PATCH_DIR
string
prompt "Custom patch directory"
default ""
depends on CUSTOM_PATCH
help
Enter the custom patch directory here.
comment "Downloading and extracting"
config NO_DOWNLOAD
bool
prompt "Avoid downloads"
default n
help
Avoid downloading anything. Bail out if a tarball is missing.
config ONLY_DOWNLOAD
bool
prompt "Only download tarballs"
default n
depends on ! NO_DOWNLOAD
help
Only download the tarballs. Exit once it done.
Usefull to pre-retrieve the tarballs before going off-line.
config FORCE_DOWNLOAD
bool
prompt "Force downloads"
default n
depends on ! NO_DOWNLOAD
help
Force downloading tarballs, even if one already exists.
Usefull if you suspect a tarball to be damaged.
config FORCE_EXTRACT
bool
prompt "Force extractions"
depends on ! ONLY_DOWNLOAD
default n
help
Force extraction of already exctracted tarballs.
Usefull if you suspect a previous extract did not complete (eg. broken
tarball), or you added a new set of patches for this component.
comment "Logging"
choice
bool
prompt "Maximum log level to see:"
default LOG_INFO
config LOG_ERROR
bool
prompt "ERROR"
help
The build will be silent.
Only if there is an error will you see a mesage.
config LOG_WARN
bool
prompt "WARN"
help
The same as above, plus warnings.
config LOG_INFO
bool
prompt "INFO"
help
The same as above, plus informational messages (main steps).
config LOG_EXTRA
bool
prompt "EXTRA"
help
The same as above, plus extra messages (sub-steps).
config LOG_DEBUG
bool
prompt "DEBUG"
help
The same as above, plus lots of debug information, of which each
component's build messages (very noisy!).
endchoice
config LOG_LEVEL_MAX
string
default "ERROR" if LOG_ERROR
default "WARN" if LOG_WARN
default "INFO" if LOG_INFO
default "EXTRA" if LOG_EXTRA
default "DEBUG" if LOG_DEBUG
config LOG_PROGRESS_BAR
bool
prompt "Progress bar"
default n
depends on ! LOG_DEBUG
help
This option will print a "rotating bar" (/-\|) below the last log line
to show work is not stalled.
Available when not in DEBUG log level.
config LOG_USE_COLORS
bool
prompt "Use colors for logging to console"
default n
help
Use colors to highlight important messages.
ERROR: bright red
WARN : bright yellow
INFO : bright green
EXTRA: dim green
DEBUG: dim white
config LOG_TO_FILE
bool
prompt "Log to a file"
default y
help
Save *full* logs to a file. Even log levels you didn't specify above
will be available in this file.
config LOG_FILE
string
prompt "Log file"
default "${CT_PREFIX_DIR}/${CT_TARGET}.log"
depends on LOG_TO_FILE
help
File name into which to put logs.
endmenu

36
config/kernel.in

@ -0,0 +1,36 @@
# Kernel options
menu "Kernel"
choice
bool
prompt "\"Kernel\" to use:"
default KERNEL_LINUX
config KERNEL_LINUX
bool
prompt "linux"
help
Build a toolchain targeting systems running Linux as a kernel.
config KERNEL_CYGWIN
bool
prompt "cygwin"
depends on ARCH_x86 || ARCH_x86_64
help
Build a toolchain targeting systems running Windows/cygwin as a kernel.
endchoice
config KERNEL_VERSION
string
if KERNEL_LINUX
source config/kernel_linux.in
endif
if KERNEL_CYGWIN
source config/kernel_cygwin.in
endif
endmenu

5
config/kernel_cygwin.in

@ -0,0 +1,5 @@
# Cygwin 'kernel' options
config KERNEL
string
default "cygwin"

102
config/kernel_linux.in

@ -0,0 +1,102 @@
# Linux kernel options
choice
bool
prompt "Get kernel headers from:"
config KERNEL_LINUX_HEADERS_INSTALL
bool
prompt "kernel's 'headers_install'"
help
This will make use of the new headers_install rule in recent kernels.
This is most probably what you want to use.
config KERNEL_LINUX_HEADERS_SANITISED
bool
prompt "Mazur's sanitized headers (OBSOLETE)"
help
M. Mazur used to maintain a tree of sanitised headers, but it is now
obsoleted by the headers_install rule (above), and has not seen eny
update since 2.6.12
config KERNEL_LINUX_HEADERS_COPY
bool
prompt "pure kernel headers (NOT RECOMMENDED)"
help
This will simply copy the kernel headers to the toolchain.
You do NOT want this. It's badly broken because it leaks kernel internals
to userspace.
endchoice
config KERNEL
string
default "linux" if KERNEL_LINUX_HEADERS_INSTALL || KERNEL_LINUX_HEADERS_COPY
default "linux-libc-headers" if KERNEL_LINUX_HEADERS_SANITISED
config KERNEL_VERSION_SEE_EXTRAVERSION
bool
prompt "See extra versions"
default n
depends on ! KERNEL_LINUX_HEADERS_SANITISED
help
See extra versions (kernel with 4 numbers, eg 2.6.19.1).
If you say 'no', you'll only see sub-level, 3-digit versions.
If you say 'yes', you'll see far more versions!
It is recommended that you say 'no', unless you _*know*_
that an extra version fixes a headers bug.
if KERNEL_LINUX_HEADERS_INSTALL
source config/kernel_linux_headers_install.in
endif
if KERNEL_LINUX_HEADERS_COPY
source config/kernel_linux_headers_copy.in
endif
if KERNEL_LINUX_HEADERS_SANITISED
source config/kernel_linux_headers_sanitised.in
endif
choice
bool
prompt "Kernel verbosity:"
default KERNEL_LINUX_VERBOSITY_0
config KERNEL_LINUX_VERBOSITY_0
bool
prompt "Simplified"
help
Print simplified command lines.
config KERNEL_LINUX_VERBOSITY_1
bool
prompt "Full commands"
help
Print full command lines.
config KERNEL_LINUX_VERBOSITY_2
bool
prompt "Exec reasons"
help
Print the reasons why a make target is rebuild.
endchoice
config KERNEL_LINUX_VERBOSE_LEVEL
int
default 0 if KERNEL_LINUX_VERBOSITY_0
default 1 if KERNEL_LINUX_VERBOSITY_1
default 2 if KERNEL_LINUX_VERBOSITY_2
config KERNEL_LINUX_CONFIG_FILE
string
prompt "Configuration file"
default ""
help
Path to the kernel configuration file.
You _must_ provide one (for now).

682
config/kernel_linux_headers_copy.in

@ -0,0 +1,682 @@
choice
bool
prompt "Linux kernel version"
config KERNEL_COPY_V_2_6_0
bool
prompt "2.6.0"
config KERNEL_COPY_V_2_6_1
bool
prompt "2.6.1"
config KERNEL_COPY_V_2_6_2
bool
prompt "2.6.2"
config KERNEL_COPY_V_2_6_3
bool
prompt "2.6.3"
config KERNEL_COPY_V_2_6_4
bool
prompt "2.6.4"
config KERNEL_COPY_V_2_6_5
bool
prompt "2.6.5"
config KERNEL_COPY_V_2_6_6
bool
prompt "2.6.6"
config KERNEL_COPY_V_2_6_7
bool
prompt "2.6.7"
config KERNEL_COPY_V_2_6_8
bool
prompt "2.6.8"
config KERNEL_COPY_V_2_6_8_1
bool
prompt "2.6.8.1"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_9
bool
prompt "2.6.9"
config KERNEL_COPY_V_2_6_10
bool
prompt "2.6.10"
config KERNEL_COPY_V_2_6_11
bool
prompt "2.6.11"
config KERNEL_COPY_V_2_6_11_1
bool
prompt "2.6.11.1"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_10
bool
prompt "2.6.11.10"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_11
bool
prompt "2.6.11.11"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_12
bool
prompt "2.6.11.12"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_2
bool
prompt "2.6.11.2"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_3
bool
prompt "2.6.11.3"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_4
bool
prompt "2.6.11.4"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_5
bool
prompt "2.6.11.5"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_6
bool
prompt "2.6.11.6"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_7
bool
prompt "2.6.11.7"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_8
bool
prompt "2.6.11.8"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_11_9
bool
prompt "2.6.11.9"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_12
bool
prompt "2.6.12"
config KERNEL_COPY_V_2_6_12_1
bool
prompt "2.6.12.1"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_12_2
bool
prompt "2.6.12.2"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_12_3
bool
prompt "2.6.12.3"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_12_4
bool
prompt "2.6.12.4"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_12_5
bool
prompt "2.6.12.5"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_12_6
bool
prompt "2.6.12.6"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_13
bool
prompt "2.6.13"
config KERNEL_COPY_V_2_6_13_1
bool
prompt "2.6.13.1"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_13_2
bool
prompt "2.6.13.2"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_13_3
bool
prompt "2.6.13.3"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_13_4
bool
prompt "2.6.13.4"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_13_5
bool
prompt "2.6.13.5"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_14
bool
prompt "2.6.14"
config KERNEL_COPY_V_2_6_14_1
bool
prompt "2.6.14.1"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_14_2
bool
prompt "2.6.14.2"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_14_3
bool
prompt "2.6.14.3"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_14_4
bool
prompt "2.6.14.4"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_14_5
bool
prompt "2.6.14.5"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_14_6
bool
prompt "2.6.14.6"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_14_7
bool
prompt "2.6.14.7"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_15
bool
prompt "2.6.15"
config KERNEL_COPY_V_2_6_15_1
bool
prompt "2.6.15.1"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_15_2
bool
prompt "2.6.15.2"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_15_3
bool
prompt "2.6.15.3"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_15_4
bool
prompt "2.6.15.4"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_15_5
bool
prompt "2.6.15.5"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_15_6
bool
prompt "2.6.15.6"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_15_7
bool
prompt "2.6.15.7"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16
bool
prompt "2.6.16"
config KERNEL_COPY_V_2_6_16_1
bool
prompt "2.6.16.1"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_10
bool
prompt "2.6.16.10"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_11
bool
prompt "2.6.16.11"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_12
bool
prompt "2.6.16.12"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_13
bool
prompt "2.6.16.13"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_14
bool
prompt "2.6.16.14"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_15
bool
prompt "2.6.16.15"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_16
bool
prompt "2.6.16.16"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_17
bool
prompt "2.6.16.17"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_18
bool
prompt "2.6.16.18"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_19
bool
prompt "2.6.16.19"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_2
bool
prompt "2.6.16.2"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_20
bool
prompt "2.6.16.20"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_21
bool
prompt "2.6.16.21"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_22
bool
prompt "2.6.16.22"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_23
bool
prompt "2.6.16.23"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_24
bool
prompt "2.6.16.24"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_25
bool
prompt "2.6.16.25"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_26
bool
prompt "2.6.16.26"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_27
bool
prompt "2.6.16.27"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_28
bool
prompt "2.6.16.28"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_29
bool
prompt "2.6.16.29"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_3
bool
prompt "2.6.16.3"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_30
bool
prompt "2.6.16.30"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_31
bool
prompt "2.6.16.31"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_32
bool
prompt "2.6.16.32"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_33
bool
prompt "2.6.16.33"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_34
bool
prompt "2.6.16.34"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_35
bool
prompt "2.6.16.35"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_36
bool
prompt "2.6.16.36"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_4
bool
prompt "2.6.16.4"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_5
bool
prompt "2.6.16.5"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
config KERNEL_COPY_V_2_6_16_6
bool
prompt "2.6.16.6"