summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-03 18:43:38 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-03-03 18:43:38 (GMT)
commitea604716d9852e5b5fe0e158b822ea0878f3925f (patch)
tree72b71ccf90c1b8709ab8eb1bf43c3727e23cf63d /config
parent661d2239e586e475fbdb26b31270456d6a5fff1a (diff)
When using custom Linux kernel headers, allow using a tarball.
/trunk/scripts/build/kernel/linux.sh | 19 16 3 0 ++++++++++++++++--- /trunk/config/kernel/linux.in | 35 26 9 0 ++++++++++++++++++++++++++--------- 2 files changed, 42 insertions(+), 12 deletions(-)
Diffstat (limited to 'config')
-rw-r--r--config/kernel/linux.in35
1 files changed, 26 insertions, 9 deletions
diff --git a/config/kernel/linux.in b/config/kernel/linux.in
index c5b8752..2dcb34b 100644
--- a/config/kernel/linux.in
+++ b/config/kernel/linux.in
@@ -286,20 +286,37 @@ endif
config KERNEL_LINUX_USE_CUSTOM_DIR
bool
- prompt "Use custom directory"
+ prompt "Use custom headers"
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
+if KERNEL_LINUX_USE_CUSTOM_DIR
+
+config KERNEL_LINUX_CUSTOM_IS_TARBALL
+ bool
+ prompt "This is a tarball"
+ default n
help
- Enter the base directory where the headers are to be found.
+ 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.
- 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
+ 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