Bryan Hundven 514f1546d7 config: Update kconfig for new CT_GetCustom
This commit sort of unifies the kconfigs to handle custom files and
directories.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2015-12-08 10:55:16 -08:00

106 lines
2.1 KiB
Plaintext

# Linux kernel options
## depends on ! ARCH_avr
## select KERNEL_SUPPORTS_SHARED_LIBS
##
## help Build a toolchain targeting systems running Linux as a kernel.
config KERNEL_LINUX_CUSTOM
bool
prompt "custom tarball or directory"
help
The choosen linux version shall be not downloaded. Instead use
a custom location to get the source.
if KERNEL_LINUX_CUSTOM
config KERNEL_LINUX_CUSTOM_LOCATION
string
prompt "Path to custom source, tarball or directory"
help
Enter the path to the directory or tarball of your source for linux.
If the path is a tarball, it should extract to: <name>-<version>/
where the name is this component, linux, and the version is set
below in the custom version string.
config KERNEL_LINUX_CUSTOM_VERSION
string
prompt "Custom Linux version"
help
Enter the version number for your custom linux.
config KERNEL_VERSION
string
default KERNEL_LINUX_CUSTOM_VERSION
endif # KERNEL_LINUX_CUSTOM
if ! KERNEL_LINUX_CUSTOM
choice
bool
prompt "Linux kernel version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config KERNEL_V_4_3
bool
prompt "4.3 (mainline)"
config KERNEL_V_4_2
bool
prompt "4.2.6 (stable)"
config KERNEL_V_4_1
bool
prompt "4.1.13"
config KERNEL_V_3_18
bool
prompt "3.18.24"
config KERNEL_V_3_14
bool
prompt "3.14.57"
config KERNEL_V_3_12
bool
prompt "3.12.50"
config KERNEL_V_3_10
bool
prompt "3.10.93"
config KERNEL_V_3_4
bool
prompt "3.4.110"
config KERNEL_V_3_2
bool
prompt "3.2.72"
config KERNEL_V_2_6_32
bool
prompt "2.6.32.68"
help
endchoice
config KERNEL_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "4.3" if KERNEL_V_4_3
default "4.2.6" if KERNEL_V_4_2
default "4.1.13" if KERNEL_V_4_1
default "3.18.24" if KERNEL_V_3_18
default "3.14.57" if KERNEL_V_3_14
default "3.12.50" if KERNEL_V_3_12
default "3.10.93" if KERNEL_V_3_10
default "3.4.110" if KERNEL_V_3_4
default "3.2.72" if KERNEL_V_3_2
default "2.6.32.68" if KERNEL_V_2_6_32
endif # ! KERNEL_LINUX_CUSTOM