2007-02-24 11:00:05 +00:00
|
|
|
# Linux kernel options
|
|
|
|
|
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
|
|
|
|
|
2011-11-13 11:38:58 +00:00
|
|
|
config KERNEL_V_3_1_1
|
|
|
|
bool
|
|
|
|
prompt "3.1.1"
|
|
|
|
|
2011-11-02 12:35:06 +00:00
|
|
|
config KERNEL_V_3_1
|
2011-08-30 07:43:48 +00:00
|
|
|
bool
|
2011-11-02 12:35:06 +00:00
|
|
|
prompt "3.1"
|
2011-08-30 07:43:48 +00:00
|
|
|
|
2011-11-13 11:38:58 +00:00
|
|
|
config KERNEL_V_3_0_9
|
2011-08-17 22:03:02 +00:00
|
|
|
bool
|
2011-11-13 11:38:58 +00:00
|
|
|
prompt "3.0.9"
|
2011-05-09 17:26:54 +00:00
|
|
|
|
2011-08-08 19:21:38 +00:00
|
|
|
config KERNEL_V_2_6_39_4
|
2011-05-09 17:26:54 +00:00
|
|
|
bool
|
2011-08-08 19:21:38 +00:00
|
|
|
prompt "2.6.39.4"
|
2011-05-09 17:26:54 +00:00
|
|
|
|
2011-06-22 04:01:20 +00:00
|
|
|
config KERNEL_V_2_6_38_8
|
2011-05-09 17:26:54 +00:00
|
|
|
bool
|
2011-06-22 04:01:20 +00:00
|
|
|
prompt "2.6.38.8"
|
2011-05-09 17:26:54 +00:00
|
|
|
|
|
|
|
config KERNEL_V_2_6_37_6
|
|
|
|
bool
|
|
|
|
prompt "2.6.37.6"
|
|
|
|
|
|
|
|
config KERNEL_V_2_6_36_4
|
|
|
|
bool
|
|
|
|
prompt "2.6.36.4"
|
|
|
|
|
2011-11-13 11:38:58 +00:00
|
|
|
config KERNEL_V_2_6_33_20
|
2011-05-09 17:26:54 +00:00
|
|
|
bool
|
2011-11-13 11:38:58 +00:00
|
|
|
prompt "2.6.33.20"
|
2011-08-08 19:21:38 +00:00
|
|
|
help
|
|
|
|
This is primarily for the use of those people who are stuck using the
|
|
|
|
.33-rt kernel. Anyone else who really wants to use the .33 kernel tree
|
|
|
|
is welcome to use this one as well.
|
2011-05-09 17:26:54 +00:00
|
|
|
|
2011-11-13 11:38:58 +00:00
|
|
|
config KERNEL_V_2_6_32_48
|
2011-05-09 17:26:54 +00:00
|
|
|
bool
|
2011-11-13 11:38:58 +00:00
|
|
|
prompt "2.6.32.48 (longterm)"
|
2011-05-09 17:26:54 +00:00
|
|
|
help
|
|
|
|
The Linux 2.6.32 tree is a "longterm" maintenance branch.
|
|
|
|
|
|
|
|
It is intended to fill the niche for users who are not using distribution
|
|
|
|
kernels but want to use a regression-free kernel for a longer time.
|
|
|
|
|
|
|
|
Critical bug fixes to later 2.6 releases are often ported to this branch
|
|
|
|
which makes 2.6.32 a very useful base for many embedded developers seeking
|
|
|
|
stable APIs or those who do not need the latest bleeding edge features.
|
|
|
|
|
|
|
|
... and no, this kernel has not undergone any specific QA testing.
|
|
|
|
|
|
|
|
See the original announcement by Greg Kroah-Hartman in the following
|
|
|
|
mailing list entry:
|
|
|
|
http://marc.info/?l=linux-kernel&m=126384198403392&w=4
|
|
|
|
|
|
|
|
config KERNEL_V_2_6_31_14
|
|
|
|
bool
|
|
|
|
prompt "2.6.31.14"
|
|
|
|
|
2011-11-13 11:38:58 +00:00
|
|
|
config KERNEL_V_2_6_27_57
|
2011-05-09 17:26:54 +00:00
|
|
|
bool
|
2011-11-13 11:38:58 +00:00
|
|
|
prompt "2.6.27.57 (longterm)"
|
2011-05-09 17:26:54 +00:00
|
|
|
help
|
|
|
|
The Linux 2.6.27 tree is a "longterm" maintenance branch.
|
|
|
|
|
|
|
|
It is intended to fill the niche for users who are not using distribution
|
|
|
|
kernels but want to use a regression-free kernel for a longer time.
|
|
|
|
|
|
|
|
Critical bug fixes to later 2.6 releases are often ported to this branch
|
|
|
|
which makes 2.6.27 a very useful base for many embedded developers seeking
|
|
|
|
stable APIs or those who do not need the latest bleeding edge features.
|
|
|
|
|
|
|
|
... and no, this kernel has not undergone any specific QA testing.
|
|
|
|
|
|
|
|
See the original announcement by Adrian Bunk in the following mailing list
|
|
|
|
entry:
|
|
|
|
http://marc.info/?l=linux-kernel&m=122375909403298&w=4
|
|
|
|
|
|
|
|
It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
|
|
|
|
http://marc.info/?l=linux-kernel&m=129133701916793&w=4
|
|
|
|
|
|
|
|
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
|
2011-11-13 11:38:58 +00:00
|
|
|
default "3.1.1" if KERNEL_V_3_1_1
|
2011-11-02 12:35:06 +00:00
|
|
|
default "3.1" if KERNEL_V_3_1
|
2011-11-13 11:38:58 +00:00
|
|
|
default "3.0.9" if KERNEL_V_3_0_9
|
2011-08-08 19:21:38 +00:00
|
|
|
default "2.6.39.4" if KERNEL_V_2_6_39_4
|
2011-06-22 04:01:20 +00:00
|
|
|
default "2.6.38.8" if KERNEL_V_2_6_38_8
|
2011-05-09 17:26:54 +00:00
|
|
|
default "2.6.37.6" if KERNEL_V_2_6_37_6
|
|
|
|
default "2.6.36.4" if KERNEL_V_2_6_36_4
|
2011-11-13 11:38:58 +00:00
|
|
|
default "2.6.33.20" if KERNEL_V_2_6_33_20
|
|
|
|
default "2.6.32.48" if KERNEL_V_2_6_32_48
|
2011-05-09 17:26:54 +00:00
|
|
|
default "2.6.31.14" if KERNEL_V_2_6_31_14
|
2011-11-13 11:38:58 +00:00
|
|
|
default "2.6.27.57" if KERNEL_V_2_6_27_57
|
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
|