summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-10-07 22:08:25 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-27 09:19:15 +0100
commit434b007fce010a471c64164a3e22b13f4440159d (patch)
treea4d58618c89f0689fc6993fde335b13777242049
parent90be4efb3826d9a68336c147be81bdf8cad05fcf (diff)
Allow for specifying kernel version manually
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--toolchain/kernel-headers/Config.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/toolchain/kernel-headers/Config.in b/toolchain/kernel-headers/Config.in
index f3d55308a..07f9f4dc2 100644
--- a/toolchain/kernel-headers/Config.in
+++ b/toolchain/kernel-headers/Config.in
@@ -39,9 +39,11 @@ choice
config BR2_KERNEL_HEADERS_2_6_31
bool "Linux 2.6.31.x kernel headers"
+ config BR2_KERNEL_HEADERS_VERSION
+ bool "Linux 2.6 (manually specified version)"
+
config BR2_KERNEL_HEADERS_SNAP
bool "Linux 2.6 snapshot"
-
endchoice
config BR2_KERNEL_HEADERS_RT
@@ -50,6 +52,13 @@ config BR2_KERNEL_HEADERS_RT
help
Apply Ingo's realtime extensions to linux
+config BR2_DEFAULT_KERNEL_VERSION
+ string "linux version"
+ depends on BR2_KERNEL_HEADERS_VERSION
+ help
+ Specify the version you want to use.
+ E.g.: 2.6.31.2
+
config BR2_DEFAULT_KERNEL_HEADERS
string
default "2.6.26.8" if BR2_KERNEL_HEADERS_2_6_26
@@ -59,4 +68,4 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "2.6.30.9" if BR2_KERNEL_HEADERS_2_6_30
default "2.6.31.5" if BR2_KERNEL_HEADERS_2_6_31
default "2.6" if BR2_KERNEL_HEADERS_SNAP
-
+ default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION