2007-02-24 11:00:05 +00:00
|
|
|
# Linux kernel options
|
|
|
|
|
2015-06-21 23:49:10 +00:00
|
|
|
## depends on ! ARCH_avr
|
2011-05-08 17:02:44 +00:00
|
|
|
## select KERNEL_SUPPORTS_SHARED_LIBS
|
|
|
|
##
|
|
|
|
## help Build a toolchain targeting systems running Linux as a kernel.
|
2011-05-09 17:26:54 +00:00
|
|
|
|
|
|
|
config KERNEL_LINUX_USE_CUSTOM_HEADERS
|
|
|
|
bool
|
2011-08-14 14:05:33 +00:00
|
|
|
prompt "Use pre-installed headers tree (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2011-05-09 17:26:54 +00:00
|
|
|
help
|
|
|
|
If you have some pre-installed kernel headers lying around, you can
|
|
|
|
enter the path to these headers, below, they will be copied from
|
|
|
|
there, and into the toolchain's sysroot.
|
|
|
|
|
|
|
|
Note:
|
|
|
|
This will *not* let you use a complete kernel tree!
|
2011-08-14 14:05:33 +00:00
|
|
|
If you want to use your own full kernel tree, then you want to say 'N'
|
|
|
|
here, and select KERNEL_LINUX_CUSTOM, in the versions list, below.
|
2011-05-09 17:26:54 +00:00
|
|
|
|
2011-08-14 17:59:02 +00:00
|
|
|
if ! KERNEL_LINUX_USE_CUSTOM_HEADERS
|
2011-05-09 17:26:54 +00:00
|
|
|
|
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "Linux kernel version"
|
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
|
|
|
|
2015-11-15 02:35:40 +00:00
|
|
|
config KERNEL_V_4_3
|
|
|
|
bool
|
|
|
|
prompt "4.3 (mainline)"
|
|
|
|
|
2015-09-02 01:30:39 +00:00
|
|
|
config KERNEL_V_4_2
|
2015-04-27 00:40:35 +00:00
|
|
|
bool
|
2015-11-15 02:35:40 +00:00
|
|
|
prompt "4.2.6 (stable)"
|
2015-04-27 00:40:35 +00:00
|
|
|
|
2015-09-02 01:30:39 +00:00
|
|
|
config KERNEL_V_4_1
|
2015-03-15 12:36:36 +00:00
|
|
|
bool
|
2015-11-15 02:35:40 +00:00
|
|
|
prompt "4.1.13"
|
2015-03-15 12:36:36 +00:00
|
|
|
|
2015-01-10 12:29:38 +00:00
|
|
|
config KERNEL_V_3_18
|
|
|
|
bool
|
2015-11-15 02:35:40 +00:00
|
|
|
prompt "3.18.24"
|
2014-06-14 19:10:06 +00:00
|
|
|
|
|
|
|
config KERNEL_V_3_14
|
|
|
|
bool
|
2015-11-15 02:35:40 +00:00
|
|
|
prompt "3.14.57"
|
2014-02-21 06:17:33 +00:00
|
|
|
|
2013-11-16 17:14:45 +00:00
|
|
|
config KERNEL_V_3_12
|
2013-10-06 22:03:19 +00:00
|
|
|
bool
|
2015-11-15 02:35:40 +00:00
|
|
|
prompt "3.12.50"
|
2013-10-06 22:03:19 +00:00
|
|
|
|
2013-07-24 21:03:48 +00:00
|
|
|
config KERNEL_V_3_10
|
|
|
|
bool
|
2015-11-15 02:35:40 +00:00
|
|
|
prompt "3.10.93"
|
2012-08-20 18:29:48 +00:00
|
|
|
|
2013-01-24 21:37:31 +00:00
|
|
|
config KERNEL_V_3_4
|
2012-08-20 18:29:48 +00:00
|
|
|
bool
|
2015-11-15 02:35:40 +00:00
|
|
|
prompt "3.4.110"
|
2012-04-16 12:57:02 +00:00
|
|
|
|
2013-01-24 21:37:31 +00:00
|
|
|
config KERNEL_V_3_2
|
2012-04-16 12:57:02 +00:00
|
|
|
bool
|
2015-10-20 08:26:51 +00:00
|
|
|
prompt "3.2.72"
|
2011-05-09 17:26:54 +00:00
|
|
|
|
2013-01-24 21:37:31 +00:00
|
|
|
config KERNEL_V_2_6_32
|
2011-05-09 17:26:54 +00:00
|
|
|
bool
|
2015-10-20 08:26:51 +00:00
|
|
|
prompt "2.6.32.68"
|
2011-05-09 17:26:54 +00:00
|
|
|
help
|
2015-05-25 19:28:22 +00:00
|
|
|
|
2011-05-09 17:26:54 +00:00
|
|
|
config KERNEL_LINUX_CUSTOM
|
|
|
|
bool
|
2011-09-22 20:49:38 +00:00
|
|
|
prompt "custom tarball or directory"
|
2011-05-09 17:26:54 +00:00
|
|
|
help
|
2011-09-22 20:49:38 +00:00
|
|
|
Use a local tarball or local kernel directory of a complete kernel source tree.
|
2011-05-09 17:26:54 +00:00
|
|
|
|
2011-09-22 20:49:38 +00:00
|
|
|
config KERNEL_LINUX_CUSTOM_LOCATION
|
2011-05-09 17:26:54 +00:00
|
|
|
string
|
2011-09-22 20:49:38 +00:00
|
|
|
prompt "Path to custom source, tarball or directory"
|
2011-05-09 17:26:54 +00:00
|
|
|
depends on KERNEL_LINUX_CUSTOM
|
|
|
|
help
|
2011-09-22 20:49:38 +00:00
|
|
|
Enter here the path to the tarball of your full kernel tree or
|
|
|
|
kernel directory
|
2011-05-09 17:26:54 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config KERNEL_VERSION
|
|
|
|
string
|
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2015-11-15 02:35:40 +00:00
|
|
|
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
|
2015-10-20 08:26:51 +00:00
|
|
|
default "3.2.72" if KERNEL_V_3_2
|
|
|
|
default "2.6.32.68" if KERNEL_V_2_6_32
|
2011-08-14 17:59:02 +00:00
|
|
|
default "custom" if KERNEL_LINUX_CUSTOM
|
2011-05-09 17:26:54 +00:00
|
|
|
|
2011-08-14 17:59:02 +00:00
|
|
|
endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS
|
2011-05-09 17:26:54 +00:00
|
|
|
|
|
|
|
if KERNEL_LINUX_USE_CUSTOM_HEADERS
|
|
|
|
|
|
|
|
config KERNEL_LINUX_CUSTOM_PATH
|
|
|
|
string
|
|
|
|
prompt "Path to custom headers directory/tarball"
|
|
|
|
help
|
|
|
|
See KERNEL_LINUX_CUSTOM_IS_TARBALL, below.
|
|
|
|
|
|
|
|
config KERNEL_LINUX_CUSTOM_IS_TARBALL
|
|
|
|
bool
|
|
|
|
prompt "This is a tarball"
|
|
|
|
help
|
|
|
|
If you say 'n' here, the path above is expected to point to a directory
|
|
|
|
containing readily prepared headers
|
|
|
|
|
|
|
|
If you say 'y' here, then the path above 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.
|
|
|
|
|
|
|
|
endif # KERNEL_LINUX_USE_CUSTOM_HEADERS
|