mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 22:22:23 +00:00
45747a6453
- 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(-)
256 lines
5.6 KiB
Plaintext
256 lines
5.6 KiB
Plaintext
# Linux kernel options
|
|
|
|
# Linux kernel options
|
|
|
|
config KERNEL_linux
|
|
help
|
|
Build a toolchain targeting systems running Linux as a kernel.
|
|
|
|
choice
|
|
bool
|
|
prompt "Get kernel headers from:"
|
|
|
|
config KERNEL_LINUX_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.
|
|
|
|
if KERNEL_LINUX_INSTALL
|
|
|
|
config KERNEL_LINUX_INSTALL_CHECK
|
|
bool
|
|
prompt "Check installed headers"
|
|
default y
|
|
help
|
|
If you are in doubt that installed headers are buggy, say 'Y'
|
|
here to have an extra check passed onto the headers.
|
|
|
|
choice
|
|
bool
|
|
prompt "Linux kernel version"
|
|
|
|
config KERNEL_V_2_6_18_8
|
|
bool
|
|
prompt "2.6.18.8 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_19_7
|
|
bool
|
|
prompt "2.6.19.7 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_20_21
|
|
bool
|
|
prompt "2.6.20.21 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_21_7
|
|
bool
|
|
prompt "2.6.21.7 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_22_19
|
|
bool
|
|
prompt "2.6.22.19 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_23_17
|
|
bool
|
|
prompt "2.6.23.17 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_24_7
|
|
bool
|
|
prompt "2.6.24.7 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_25_20
|
|
bool
|
|
prompt "2.6.25.20 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_26_8
|
|
bool
|
|
prompt "2.6.26.8 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_27_22
|
|
bool
|
|
prompt "2.6.27.22 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config KERNEL_V_2_6_28
|
|
bool
|
|
prompt "2.6.28"
|
|
|
|
config KERNEL_V_2_6_28_1
|
|
bool
|
|
prompt "2.6.28.1"
|
|
|
|
config KERNEL_V_2_6_28_2
|
|
bool
|
|
prompt "2.6.28.2"
|
|
|
|
config KERNEL_V_2_6_28_3
|
|
bool
|
|
prompt "2.6.28.3"
|
|
|
|
config KERNEL_V_2_6_28_4
|
|
bool
|
|
prompt "2.6.28.4"
|
|
|
|
config KERNEL_V_2_6_28_5
|
|
bool
|
|
prompt "2.6.28.5"
|
|
|
|
config KERNEL_V_2_6_28_6
|
|
bool
|
|
prompt "2.6.28.6"
|
|
|
|
config KERNEL_V_2_6_28_7
|
|
bool
|
|
prompt "2.6.28.7"
|
|
|
|
config KERNEL_V_2_6_28_8
|
|
bool
|
|
prompt "2.6.28.8"
|
|
|
|
config KERNEL_V_2_6_28_9
|
|
bool
|
|
prompt "2.6.28.9"
|
|
|
|
config KERNEL_V_2_6_28_10
|
|
bool
|
|
prompt "2.6.28.10"
|
|
|
|
config KERNEL_V_2_6_29
|
|
bool
|
|
prompt "2.6.29"
|
|
|
|
config KERNEL_V_2_6_29_1
|
|
bool
|
|
prompt "2.6.29.1"
|
|
|
|
config KERNEL_V_2_6_29_2
|
|
bool
|
|
prompt "2.6.29.2"
|
|
|
|
# CT_INSERT_VERSION_ABOVE
|
|
# Don't remove above line!
|
|
|
|
config KERNEL_V_select
|
|
bool
|
|
prompt "Other version (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
|
|
endchoice
|
|
|
|
config KERNEL_VERSION
|
|
string
|
|
prompt "Kernel version" if KERNEL_V_select
|
|
default "2.6.18.8" if KERNEL_V_2_6_18_8
|
|
default "2.6.19.7" if KERNEL_V_2_6_19_7
|
|
default "2.6.20.21" if KERNEL_V_2_6_20_21
|
|
default "2.6.21.7" if KERNEL_V_2_6_21_7
|
|
default "2.6.22.19" if KERNEL_V_2_6_22_19
|
|
default "2.6.23.17" if KERNEL_V_2_6_23_17
|
|
default "2.6.24.7" if KERNEL_V_2_6_24_7
|
|
default "2.6.25.20" if KERNEL_V_2_6_25_20
|
|
default "2.6.26.8" if KERNEL_V_2_6_26_8
|
|
default "2.6.27.22" if KERNEL_V_2_6_27_22
|
|
default "2.6.28" if KERNEL_V_2_6_28
|
|
default "2.6.28.1" if KERNEL_V_2_6_28_1
|
|
default "2.6.28.2" if KERNEL_V_2_6_28_2
|
|
default "2.6.28.3" if KERNEL_V_2_6_28_3
|
|
default "2.6.28.4" if KERNEL_V_2_6_28_4
|
|
default "2.6.28.5" if KERNEL_V_2_6_28_5
|
|
default "2.6.28.6" if KERNEL_V_2_6_28_6
|
|
default "2.6.28.7" if KERNEL_V_2_6_28_7
|
|
default "2.6.28.8" if KERNEL_V_2_6_28_8
|
|
default "2.6.28.9" if KERNEL_V_2_6_28_9
|
|
default "2.6.28.10" if KERNEL_V_2_6_28_10
|
|
default "2.6.29" if KERNEL_V_2_6_29
|
|
default "2.6.29.1" if KERNEL_V_2_6_29_1
|
|
default "2.6.29.2" if KERNEL_V_2_6_29_2
|
|
# CT_INSERT_VERSION_STRING_ABOVE
|
|
# Don't remove above line!
|
|
help
|
|
Enter here the kernel version you want to use, if it is
|
|
not listed above. Something like V.P.S or V.P.S.E, where:
|
|
V: VERSION
|
|
P: PATCHLEVEL
|
|
S: SUBLEVEL
|
|
E: EXTRAVERSION
|
|
|
|
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
|
|
|
|
endif
|
|
|
|
config KERNEL_LINUX_USE_CUSTOM_HEADERS
|
|
bool
|
|
prompt "Use custom headers"
|
|
help
|
|
If you have some kernel headers lying around, you can enter the path
|
|
below.
|
|
|
|
if KERNEL_LINUX_USE_CUSTOM_HEADERS
|
|
|
|
config KERNEL_LINUX_CUSTOM_IS_TARBALL
|
|
bool
|
|
prompt "This is a tarball"
|
|
default n
|
|
help
|
|
If you say 'n' here, the path below is expected to point to a directory
|
|
containing readily prepared headers
|
|
|
|
If you say 'y' here, then the path below is expected to point to a
|
|
tarball of such a directory.
|
|
|
|
Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
|
|
say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
|
|
|
|
Now, passing a tarball around is easier than passing a directory, so
|
|
if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
|
|
say 'y' here, and enter the path to this tarball below.
|
|
|
|
config KERNEL_LINUX_CUSTOM_PATH
|
|
string
|
|
prompt "Path to custom headers directory/tarball"
|
|
help
|
|
See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
|
|
|
|
endif # KERNEL_LINUX_USE_CUSTOM_DIR
|
|
|
|
endchoice
|