summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-12-20 20:57:07 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-12-20 20:57:07 +0000
commitf0ebb39d18881954012025543c595ffaed81dd97 (patch)
tree152411a81faa2d550d2ab14ab92644c4a3019730
parent11ea37c64b2a90d0ea64f9c60bf33e15fe60ae51 (diff)
Put latest version info in separate file for easier maintenance
-rw-r--r--target/linux/Config.in.advanced37
-rw-r--r--target/linux/Config.in.versions52
2 files changed, 66 insertions, 23 deletions
diff --git a/target/linux/Config.in.advanced b/target/linux/Config.in.advanced
index 2d19110f8..70af0b939 100644
--- a/target/linux/Config.in.advanced
+++ b/target/linux/Config.in.advanced
@@ -30,21 +30,24 @@ if BR2_KERNEL_LINUX_ADVANCED
#
# ---------------------------------------------------------------------------
# --- These 'constants' requires regular maintenance, so put them first
+
+source "target/linux/Config.in.versions"
+
config BR2_KERNEL_PATCH_LEVEL
string
- default "9" if BR2_LINUX_2_6_27 && BR2_KERNEL_ADD_LATEST_MINORPATCH
- default "8" if BR2_LINUX_2_6_26 && BR2_KERNEL_ADD_LATEST_MINORPATCH
- default "9" if BR2_LINUX_2_6_25 && BR2_KERNEL_ADD_LATEST_MINORPATCH
- default "7" if BR2_LINUX_2_6_24 && BR2_KERNEL_ADD_LATEST_MINORPATCH
- default "17" if BR2_LINUX_2_6_23 && BR2_KERNEL_ADD_LATEST_MINORPATCH
- default "19" if BR2_LINUX_2_6_22 && BR2_KERNEL_ADD_LATEST_MINORPATCH
- default "7" if BR2_LINUX_2_6_21 && BR2_KERNEL_ADD_LATEST_MINORPATCH
- default "21" if BR2_LINUX_2_6_20 && BR2_KERNEL_ADD_LATEST_MINORPATCH
+ default $(BR2_KERNEL_LATEST_2_6_27) if BR2_LINUX_2_6_27 && BR2_KERNEL_ADD_LATEST_MINORPATCH
+ default $(BR2_KERNEL_LATEST_2_6_26) if BR2_LINUX_2_6_26 && BR2_KERNEL_ADD_LATEST_MINORPATCH
+ default $(BR2_KERNEL_LATEST_2_6_25) if BR2_LINUX_2_6_25 && BR2_KERNEL_ADD_LATEST_MINORPATCH
+ default $(BR2_KERNEL_LATEST_2_6_24) if BR2_LINUX_2_6_24 && BR2_KERNEL_ADD_LATEST_MINORPATCH
+ default $(BR2_KERNEL_LATEST_2_6_23) if BR2_LINUX_2_6_23 && BR2_KERNEL_ADD_LATEST_MINORPATCH
+ default $(BR2_KERNEL_LATEST_2_6_22) if BR2_LINUX_2_6_22 && BR2_KERNEL_ADD_LATEST_MINORPATCH
+ default $(BR2_KERNEL_LATEST_2_6_21) if BR2_LINUX_2_6_21 && BR2_KERNEL_ADD_LATEST_MINORPATCH
+ default $(BR2_KERNEL_LATEST_2_6_20) if BR2_LINUX_2_6_20 && BR2_KERNEL_ADD_LATEST_MINORPATCH
default "$(BR2_KERNEL_MINORLEVEL)" if BR2_KERNEL_ADD_MINORPATCH
config BR2_KERNEL_CURRENT_VERSION
string
- default "2.6.27.9"
+ default "2.6.27.10"
config BR2_KERNEL_NEXT_VERSION
string
@@ -71,18 +74,6 @@ config BR2_KERNEL_THIS_VERSION
default "2.6.21" if BR2_LINUX_2_6_21
default "2.6.20" if BR2_LINUX_2_6_20
-config LINUX26_LATEST_RC_VERSION
- string
- default "2.6.28-rc8" if BR2_KERNEL_ADD_LATEST_RC_PATCH
-
-config LINUX26_LATEST_GIT_VERSION
- string
- default "2.6.28-rc6-git4" if BR2_KERNEL_ADD_LATEST_SNAPSHOT
-
-config LINUX26_LATEST_MM_VERSION
- string
- default "2.6.28-rc2-mm1" if BR2_KERNEL_ADD_LATEST_MM_PATCH
-
config BR2_KERNEL_SITE
string
default "http://ftp.kernel.org/pub/linux/kernel/v2.6/"
@@ -139,9 +130,9 @@ choice
Select the specific Linux version you want to use
config BR2_LINUX_2_6_STABLE
- bool "The latest stable Linux kernel (2.6.27.9)"
+ bool "The latest stable Linux kernel (2.6.27.10)"
help
- Linux 2.6.27.9
+ Linux 2.26.27.10
config BR2_LINUX_2_6_27
bool "Linux 2.6.27"
diff --git a/target/linux/Config.in.versions b/target/linux/Config.in.versions
new file mode 100644
index 000000000..5e7d79624
--- /dev/null
+++ b/target/linux/Config.in.versions
@@ -0,0 +1,52 @@
+# This file defines the latest version of
+# You also have to edit BR2_LINUX_2_6_STABLE
+# in target/linux/Config.in.advanced
+# which is approximately at line 132
+
+config LINUX26_LATEST_RC_VERSION
+ string
+ default "2.6.28-rc9" if BR2_KERNEL_ADD_LATEST_RC_PATCH
+
+config LINUX26_LATEST_GIT_VERSION
+ string
+ default "2.6.28-rc9-git1" if BR2_KERNEL_ADD_LATEST_SNAPSHOT
+
+config LINUX26_LATEST_MM_VERSION
+ string
+ default "2.6.28-rc2-mm1" if BR2_KERNEL_ADD_LATEST_MM_PATCH
+
+config BR2_KERNEL_CURRENT_VERSION
+ string
+ default "2.6.27.10"
+
+config BR2_KERNEL_LATEST_2_6_27
+ string
+ default "10"
+
+config BR2_KERNEL_LATEST_2_6_26
+ string
+ default "8"
+
+config BR2_KERNEL_LATEST_2_6_25
+ string
+ default "9"
+
+config BR2_KERNEL_LATEST_2_6_24
+ string
+ default "7"
+
+config BR2_KERNEL_LATEST_2_6_23
+ string
+ default "17"
+
+config BR2_KERNEL_LATEST_2_6_22
+ string
+ default "19"
+
+config BR2_KERNEL_LATEST_2_6_21
+ string
+ default "7"
+
+config BR2_KERNEL_LATEST_2_6_20
+ string
+ default "21"