mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 22:22:23 +00:00
c36b921790
- change the menu label from 'Target OS' to 'Operating System', - bare-metal is a kind of kernel (OS), rename to 'bare-metal' from 'none', - update the kconfig.mk to generate the kernel choice entries, - update glibc&eglibc kernel version option accordingly. Update the debug & tools confiog file generation to match with arch & kernel. Print terse command lines when building in kconfig/ (a-la Linux kernel). Fix the makefile rules in kconfig/kconfig.mk to be /simple/ rules. /trunk/kconfig/kconfig.mk | 117 81 36 0 +++++++++++++++++++++---------- /trunk/config/kernel/linux.in | 4 4 0 0 + /trunk/config/kernel/bare-metal.experimental.in | 15 15 0 0 ++++ /trunk/config/kernel.in | 33 5 28 0 +-------- /trunk/config/libc/glibc-eglibc-common.in | 4 2 2 0 5 files changed, 107 insertions(+), 66 deletions(-)
255 lines
5.4 KiB
Plaintext
255 lines
5.4 KiB
Plaintext
# 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
|
|
bool
|
|
prompt "2.6.25"
|
|
|
|
config KERNEL_V_2_6_25_1
|
|
bool
|
|
prompt "2.6.25.1"
|
|
|
|
config KERNEL_V_2_6_25_2
|
|
bool
|
|
prompt "2.6.25.2"
|
|
|
|
config KERNEL_V_2_6_25_3
|
|
bool
|
|
prompt "2.6.25.3"
|
|
|
|
config KERNEL_V_2_6_25_4
|
|
bool
|
|
prompt "2.6.25.4"
|
|
|
|
config KERNEL_V_2_6_25_5
|
|
bool
|
|
prompt "2.6.25.5"
|
|
|
|
config KERNEL_V_2_6_25_6
|
|
bool
|
|
prompt "2.6.25.6"
|
|
|
|
config KERNEL_V_2_6_25_7
|
|
bool
|
|
prompt "2.6.25.7"
|
|
|
|
config KERNEL_V_2_6_25_8
|
|
bool
|
|
prompt "2.6.25.8"
|
|
|
|
config KERNEL_V_2_6_25_9
|
|
bool
|
|
prompt "2.6.25.9"
|
|
|
|
config KERNEL_V_2_6_25_10
|
|
bool
|
|
prompt "2.6.25.10"
|
|
|
|
config KERNEL_V_2_6_25_11
|
|
bool
|
|
prompt "2.6.25.11"
|
|
|
|
config KERNEL_V_2_6_25_12
|
|
bool
|
|
prompt "2.6.25.12"
|
|
|
|
config KERNEL_V_2_6_25_13
|
|
bool
|
|
prompt "2.6.25.13"
|
|
|
|
config KERNEL_V_2_6_25_14
|
|
bool
|
|
prompt "2.6.25.14"
|
|
|
|
config KERNEL_V_2_6_25_15
|
|
bool
|
|
prompt "2.6.25.15"
|
|
|
|
config KERNEL_V_2_6_25_16
|
|
bool
|
|
prompt "2.6.25.16"
|
|
|
|
config KERNEL_V_2_6_25_17
|
|
bool
|
|
prompt "2.6.25.17"
|
|
|
|
config KERNEL_V_2_6_26
|
|
bool
|
|
prompt "2.6.26"
|
|
|
|
config KERNEL_V_2_6_26_1
|
|
bool
|
|
prompt "2.6.26.1"
|
|
|
|
config KERNEL_V_2_6_26_2
|
|
bool
|
|
prompt "2.6.26.2"
|
|
|
|
config KERNEL_V_2_6_26_3
|
|
bool
|
|
prompt "2.6.26.3"
|
|
|
|
config KERNEL_V_2_6_26_4
|
|
bool
|
|
prompt "2.6.26.4"
|
|
|
|
config KERNEL_V_2_6_26_5
|
|
bool
|
|
prompt "2.6.26.5"
|
|
|
|
# CT_INSERT_VERSION_ABOVE
|
|
# Don't remove above line!
|
|
endchoice
|
|
|
|
config KERNEL_VERSION
|
|
string
|
|
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" if KERNEL_V_2_6_25
|
|
default "2.6.25.1" if KERNEL_V_2_6_25_1
|
|
default "2.6.25.2" if KERNEL_V_2_6_25_2
|
|
default "2.6.25.3" if KERNEL_V_2_6_25_3
|
|
default "2.6.25.4" if KERNEL_V_2_6_25_4
|
|
default "2.6.25.5" if KERNEL_V_2_6_25_5
|
|
default "2.6.25.6" if KERNEL_V_2_6_25_6
|
|
default "2.6.25.7" if KERNEL_V_2_6_25_7
|
|
default "2.6.25.8" if KERNEL_V_2_6_25_8
|
|
default "2.6.25.9" if KERNEL_V_2_6_25_9
|
|
default "2.6.25.10" if KERNEL_V_2_6_25_10
|
|
default "2.6.25.11" if KERNEL_V_2_6_25_11
|
|
default "2.6.25.12" if KERNEL_V_2_6_25_12
|
|
default "2.6.25.13" if KERNEL_V_2_6_25_13
|
|
default "2.6.25.14" if KERNEL_V_2_6_25_14
|
|
default "2.6.25.14" if KERNEL_V_2_6_25_15
|
|
default "2.6.25.15" if KERNEL_V_2_6_25_16
|
|
default "2.6.25.15" if KERNEL_V_2_6_25_17
|
|
default "2.6.26" if KERNEL_V_2_6_26
|
|
default "2.6.26.1" if KERNEL_V_2_6_26_1
|
|
default "2.6.26.2" if KERNEL_V_2_6_26_2
|
|
default "2.6.26.3" if KERNEL_V_2_6_26_3
|
|
default "2.6.26.4" if KERNEL_V_2_6_26_4
|
|
default "2.6.26.5" if KERNEL_V_2_6_26_5
|
|
# CT_INSERT_VERSION_STRING_ABOVE
|
|
# Don't remove above line!
|
|
|
|
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_DIR
|
|
bool
|
|
prompt "Use custom directory"
|
|
help
|
|
If you have some kernel headers lying around, you can enter the path
|
|
below.
|
|
|
|
config KERNEL_LINUX_CUSTOM_DIR
|
|
string
|
|
prompt "Where are those custom headers?"
|
|
depends on KERNEL_LINUX_USE_CUSTOM_DIR
|
|
help
|
|
Enter the base directory where the headers are to be found.
|
|
|
|
Eg. if the headers are in /some/place/include, then enter /some/place.
|
|
This is the same path you entered when you typed:
|
|
make INSTALL_HDR_PATH=/some/place headers_install
|
|
|
|
endchoice
|