summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-09-16 21:40:16 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-09-16 21:40:16 +0200
commita7579a7a1326c22f0a6332fd54875e5fffcec5d1 (patch)
treea68d6803ccdbdeb088fbe6faba6ae0094919f6e1
parent81b17ec2baa1cef60b0be8f3e533d6b5e1730d79 (diff)
downloadembtoolkit-a7579a7a1326c22f0a6332fd54875e5fffcec5d1.tar.gz
embtoolkit-a7579a7a1326c22f0a6332fd54875e5fffcec5d1.tar.bz2
embtoolkit-a7579a7a1326c22f0a6332fd54875e5fffcec5d1.tar.xz
Toolchain: Give users ability to choose the exact linux version
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r--kconfig/linux-kconfigs/linux-2.6.27.kconfig98
-rw-r--r--kconfig/linux-kconfigs/linux-2.6.28.kconfig68
-rw-r--r--kconfig/linux-kconfigs/linux-2.6.29.kconfig56
-rw-r--r--kconfig/linux-kconfigs/linux-2.6.30.kconfig56
-rw-r--r--kconfig/linux-kconfigs/linux-2.6.31.kconfig37
-rw-r--r--kconfig/linux.kconfig45
6 files changed, 344 insertions, 16 deletions
diff --git a/kconfig/linux-kconfigs/linux-2.6.27.kconfig b/kconfig/linux-kconfigs/linux-2.6.27.kconfig
new file mode 100644
index 0000000..4f1480d
--- /dev/null
+++ b/kconfig/linux-kconfigs/linux-2.6.27.kconfig
@@ -0,0 +1,98 @@
+################################################################################
+# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+#
+# This program is free software; you can distribute it and/or modify it
+# under the terms of the GNU General Public License
+# (Version 2 or later) published by the Free Software Foundation.
+#
+# This program is distributed in the hope it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
+################################################################################
+#
+# \file linux-2.6.27.kconfig
+# \brief linux v2.6.27.x series
+# \author GAYE Abdoulaye Walsimou <walsimou@walsimou.com>
+# \date Sept 2009
+################################################################################
+
+choice
+ prompt "Linux v2.6.27.x series exact version to use."
+ default EMBTK_LINUX_VERSION_2_6_27_20
+ help
+ Linux v2.6.27.x series exact version to use.
+
+ config EMBTK_LINUX_VERSION_2_6_27_20
+ bool "linux-2.6.27.20"
+ config EMBTK_LINUX_VERSION_2_6_27_19
+ bool "linux-2.6.27.19"
+ config EMBTK_LINUX_VERSION_2_6_27_18
+ bool "linux-2.6.27.18"
+ config EMBTK_LINUX_VERSION_2_6_27_17
+ bool "linux-2.6.27.17"
+ config EMBTK_LINUX_VERSION_2_6_27_16
+ bool "linux-2.6.27.16"
+ config EMBTK_LINUX_VERSION_2_6_27_15
+ bool "linux-2.6.27.15"
+ config EMBTK_LINUX_VERSION_2_6_27_14
+ bool "linux-2.6.27.14"
+ config EMBTK_LINUX_VERSION_2_6_27_13
+ bool "linux-2.6.27.13"
+ config EMBTK_LINUX_VERSION_2_6_27_12
+ bool "linux-2.6.27.12"
+ config EMBTK_LINUX_VERSION_2_6_27_11
+ bool "linux-2.6.27.11"
+ config EMBTK_LINUX_VERSION_2_6_27_10
+ bool "linux-2.6.27.10"
+ config EMBTK_LINUX_VERSION_2_6_27_9
+ bool "linux-2.6.27.9"
+ config EMBTK_LINUX_VERSION_2_6_27_8
+ bool "linux-2.6.27.8"
+ config EMBTK_LINUX_VERSION_2_6_27_7
+ bool "linux-2.6.27.7"
+ config EMBTK_LINUX_VERSION_2_6_27_6
+ bool "linux-2.6.27.6"
+ config EMBTK_LINUX_VERSION_2_6_27_5
+ bool "linux-2.6.27.5"
+ config EMBTK_LINUX_VERSION_2_6_27_4
+ bool "linux-2.6.27.4"
+ config EMBTK_LINUX_VERSION_2_6_27_3
+ bool "linux-2.6.27.3"
+ config EMBTK_LINUX_VERSION_2_6_27_2
+ bool "linux-2.6.27.2"
+ config EMBTK_LINUX_VERSION_2_6_27_1
+ bool "linux-2.6.27.1"
+ config EMBTK_LINUX_VERSION_2_6_27
+ bool "linux-2.6.27"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "2.6.27.20" if EMBTK_LINUX_VERSION_2_6_27_20
+ default "2.6.27.19" if EMBTK_LINUX_VERSION_2_6_27_19
+ default "2.6.27.18" if EMBTK_LINUX_VERSION_2_6_27_18
+ default "2.6.27.17" if EMBTK_LINUX_VERSION_2_6_27_17
+ default "2.6.27.16" if EMBTK_LINUX_VERSION_2_6_27_16
+ default "2.6.27.15" if EMBTK_LINUX_VERSION_2_6_27_15
+ default "2.6.27.14" if EMBTK_LINUX_VERSION_2_6_27_14
+ default "2.6.27.13" if EMBTK_LINUX_VERSION_2_6_27_13
+ default "2.6.27.12" if EMBTK_LINUX_VERSION_2_6_27_12
+ default "2.6.27.11" if EMBTK_LINUX_VERSION_2_6_27_11
+ default "2.6.27.10" if EMBTK_LINUX_VERSION_2_6_27_10
+ default "2.6.27.9" if EMBTK_LINUX_VERSION_2_6_27_9
+ default "2.6.27.8" if EMBTK_LINUX_VERSION_2_6_27_8
+ default "2.6.27.7" if EMBTK_LINUX_VERSION_2_6_27_7
+ default "2.6.27.6" if EMBTK_LINUX_VERSION_2_6_27_6
+ default "2.6.27.5" if EMBTK_LINUX_VERSION_2_6_27_5
+ default "2.6.27.4" if EMBTK_LINUX_VERSION_2_6_27_4
+ default "2.6.27.3" if EMBTK_LINUX_VERSION_2_6_27_3
+ default "2.6.27.2" if EMBTK_LINUX_VERSION_2_6_27_2
+ default "2.6.27.1" if EMBTK_LINUX_VERSION_2_6_27_1
+ default "2.6.27" if EMBTK_LINUX_VERSION_2_6_27
+
diff --git a/kconfig/linux-kconfigs/linux-2.6.28.kconfig b/kconfig/linux-kconfigs/linux-2.6.28.kconfig
new file mode 100644
index 0000000..23cef9f
--- /dev/null
+++ b/kconfig/linux-kconfigs/linux-2.6.28.kconfig
@@ -0,0 +1,68 @@
+################################################################################
+# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+#
+# This program is free software; you can distribute it and/or modify it
+# under the terms of the GNU General Public License
+# (Version 2 or later) published by the Free Software Foundation.
+#
+# This program is distributed in the hope it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
+################################################################################
+#
+# \file linux-2.6.28.kconfig
+# \brief linux v2.6.28.x series
+# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# \date Sept 2009
+################################################################################
+
+choice
+ prompt "Linux v2.6.28.x series exact version to use."
+ default EMBTK_LINUX_VERSION_2_6_28_10
+ help
+ Linux v2.6.28.x series exact version to use.
+
+ config EMBTK_LINUX_VERSION_2_6_28_10
+ bool "linux-2.6.28.10"
+ config EMBTK_LINUX_VERSION_2_6_28_9
+ bool "linux-2.6.28.9"
+ config EMBTK_LINUX_VERSION_2_6_28_8
+ bool "linux-2.6.28.8"
+ config EMBTK_LINUX_VERSION_2_6_28_7
+ bool "linux-2.6.28.7"
+ config EMBTK_LINUX_VERSION_2_6_28_6
+ bool "linux-2.6.28.6"
+ config EMBTK_LINUX_VERSION_2_6_28_5
+ bool "linux-2.6.28.5"
+ config EMBTK_LINUX_VERSION_2_6_28_4
+ bool "linux-2.6.28.4"
+ config EMBTK_LINUX_VERSION_2_6_28_3
+ bool "linux-2.6.28.3"
+ config EMBTK_LINUX_VERSION_2_6_28_2
+ bool "linux-2.6.28.2"
+ config EMBTK_LINUX_VERSION_2_6_28_1
+ bool "linux-2.6.28.1"
+ config EMBTK_LINUX_VERSION_2_6_28
+ bool "linux-2.6.28"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "2.6.28.10" if EMBTK_LINUX_VERSION_2_6_28_10
+ default "2.6.28.9" if EMBTK_LINUX_VERSION_2_6_28_9
+ default "2.6.28.8" if EMBTK_LINUX_VERSION_2_6_28_8
+ default "2.6.28.7" if EMBTK_LINUX_VERSION_2_6_28_7
+ default "2.6.28.6" if EMBTK_LINUX_VERSION_2_6_28_6
+ default "2.6.28.5" if EMBTK_LINUX_VERSION_2_6_28_5
+ default "2.6.28.4" if EMBTK_LINUX_VERSION_2_6_28_4
+ default "2.6.28.3" if EMBTK_LINUX_VERSION_2_6_28_3
+ default "2.6.28.2" if EMBTK_LINUX_VERSION_2_6_28_2
+ default "2.6.28.1" if EMBTK_LINUX_VERSION_2_6_28_1
+ default "2.6.28" if EMBTK_LINUX_VERSION_2_6_28
+
diff --git a/kconfig/linux-kconfigs/linux-2.6.29.kconfig b/kconfig/linux-kconfigs/linux-2.6.29.kconfig
new file mode 100644
index 0000000..9f0e920
--- /dev/null
+++ b/kconfig/linux-kconfigs/linux-2.6.29.kconfig
@@ -0,0 +1,56 @@
+################################################################################
+# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+#
+# This program is free software; you can distribute it and/or modify it
+# under the terms of the GNU General Public License
+# (Version 2 or later) published by the Free Software Foundation.
+#
+# This program is distributed in the hope it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
+################################################################################
+#
+# \file linux-2.6.29.kconfig
+# \brief linux v2.6.29.x series
+# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# \date Sept 2009
+################################################################################
+
+choice
+ prompt "Linux v2.6.29.x series exact version to use."
+ default EMBTK_LINUX_VERSION_2_6_29_6
+ help
+ Linux v2.6.29.x series exact version to use.
+
+ config EMBTK_LINUX_VERSION_2_6_29_6
+ bool "linux-2.6.29.6"
+ config EMBTK_LINUX_VERSION_2_6_29_5
+ bool "linux-2.6.29.4"
+ config EMBTK_LINUX_VERSION_2_6_29_4
+ bool "linux-2.6.29.4"
+ config EMBTK_LINUX_VERSION_2_6_29_3
+ bool "linux-2.6.29.3"
+ config EMBTK_LINUX_VERSION_2_6_29_2
+ bool "linux-2.6.29.2"
+ config EMBTK_LINUX_VERSION_2_6_29_1
+ bool "linux-2.6.29.1"
+ config EMBTK_LINUX_VERSION_2_6_29
+ bool "linux-2.6.29"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "2.6.29.6" if EMBTK_LINUX_VERSION_2_6_29_6
+ default "2.6.29.5" if EMBTK_LINUX_VERSION_2_6_29_5
+ default "2.6.29.4" if EMBTK_LINUX_VERSION_2_6_29_4
+ default "2.6.29.3" if EMBTK_LINUX_VERSION_2_6_29_3
+ default "2.6.29.2" if EMBTK_LINUX_VERSION_2_6_29_2
+ default "2.6.29.1" if EMBTK_LINUX_VERSION_2_6_29_1
+ default "2.6.29" if EMBTK_LINUX_VERSION_2_6_29
+
diff --git a/kconfig/linux-kconfigs/linux-2.6.30.kconfig b/kconfig/linux-kconfigs/linux-2.6.30.kconfig
new file mode 100644
index 0000000..7cbc898
--- /dev/null
+++ b/kconfig/linux-kconfigs/linux-2.6.30.kconfig
@@ -0,0 +1,56 @@
+################################################################################
+# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+#
+# This program is free software; you can distribute it and/or modify it
+# under the terms of the GNU General Public License
+# (Version 2 or later) published by the Free Software Foundation.
+#
+# This program is distributed in the hope it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
+################################################################################
+#
+# \file linux-2.6.30.kconfig
+# \brief linux v2.6.30.x series
+# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# \date Sept 2009
+################################################################################
+
+choice
+ prompt "Linux v2.6.30.x series exact version to use."
+ default EMBTK_LINUX_VERSION_2_6_30_6
+ help
+ Linux v2.6.30.x series exact version to use.
+
+ config EMBTK_LINUX_VERSION_2_6_30_6
+ bool "linux-2.6.30.6"
+ config EMBTK_LINUX_VERSION_2_6_30_5
+ bool "linux-2.6.30.5"
+ config EMBTK_LINUX_VERSION_2_6_30_4
+ bool "linux-2.6.30.4"
+ config EMBTK_LINUX_VERSION_2_6_30_3
+ bool "linux-2.6.30.3"
+ config EMBTK_LINUX_VERSION_2_6_30_2
+ bool "linux-2.6.30.2"
+ config EMBTK_LINUX_VERSION_2_6_30_1
+ bool "linux-2.6.30.1"
+ config EMBTK_LINUX_VERSION_2_6_30
+ bool "linux-2.6.30"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "2.6.30.6" if EMBTK_LINUX_VERSION_2_6_30_6
+ default "2.6.30.5" if EMBTK_LINUX_VERSION_2_6_30_5
+ default "2.6.30.4" if EMBTK_LINUX_VERSION_2_6_30_4
+ default "2.6.30.3" if EMBTK_LINUX_VERSION_2_6_30_3
+ default "2.6.30.2" if EMBTK_LINUX_VERSION_2_6_30_2
+ default "2.6.30.1" if EMBTK_LINUX_VERSION_2_6_30_1
+ default "2.6.30" if EMBTK_LINUX_VERSION_2_6_30
+
diff --git a/kconfig/linux-kconfigs/linux-2.6.31.kconfig b/kconfig/linux-kconfigs/linux-2.6.31.kconfig
new file mode 100644
index 0000000..cca8889
--- /dev/null
+++ b/kconfig/linux-kconfigs/linux-2.6.31.kconfig
@@ -0,0 +1,37 @@
+################################################################################
+# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+#
+# This program is free software; you can distribute it and/or modify it
+# under the terms of the GNU General Public License
+# (Version 2 or later) published by the Free Software Foundation.
+#
+# This program is distributed in the hope it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
+################################################################################
+#
+# \file linux-2.6.30.kconfig
+# \brief linux v2.6.30.x series
+# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# \date May 2009
+################################################################################
+
+choice
+ prompt "Linux v2.6.31.x series exact version to use."
+ default EMBTK_LINUX_VERSION_2_6_31
+ help
+ Linux v2.6.31.x series exact version to use.
+
+ config EMBTK_LINUX_VERSION_2_6_31
+ bool "linux-2.6.31"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "2.6.31" if EMBTK_LINUX_VERSION_2_6_31
diff --git a/kconfig/linux.kconfig b/kconfig/linux.kconfig
index 0f73070..b9c97ae 100644
--- a/kconfig/linux.kconfig
+++ b/kconfig/linux.kconfig
@@ -23,34 +23,54 @@
################################################################################
choice
- prompt "Linux kernel headers you wish to use"
+ prompt "Linux series to use"
default EMBTK_LINUX_VERSION_2_6_30_X
help
Here you can choose which Linux kernel headers you
you want to use.
+ config EMBTK_LINUX_VERSION_2_6_31_X
+ bool "linux-2.6.31.x"
+ help
+ Use a linux-2.6.31.x version.
config EMBTK_LINUX_VERSION_2_6_30_X
bool "linux-2.6.30.x"
help
- Will download linux-2.6.30.6 as it was the latest version of
- 2.6.30.x series at this version of Embtk.
+ Use a linux-2.6.30.x version.
config EMBTK_LINUX_VERSION_2_6_29_X
bool "linux-2.6.29.x"
help
- Will download linux-2.6.29.6 as it was the latest version of
- 2.6.29.x series at this version of Embtk.
+ Use a linux-2.6.29.x version.
config EMBTK_LINUX_VERSION_2_6_28_X
bool "linux-2.6.28.x"
help
- Will download linux-2.6.28.10 as it was the latest version of
- 2.6.28.x series at this version of Embtk.
+ Use a linux-2.6.28.x version.
config EMBTK_LINUX_VERSION_2_6_27_X
bool "linux-2.6.27.x"
help
- Will download linux-2.6.27.19 as it was the latest version of
- 2.6.27.x series at this version of Embtk.
+ Use a linux-2.6.27.x version.
endchoice
+if EMBTK_LINUX_VERSION_2_6_31_X
+source kconfig/linux-kconfigs/linux-2.6.31.kconfig
+endif
+
+if EMBTK_LINUX_VERSION_2_6_30_X
+source kconfig/linux-kconfigs/linux-2.6.30.kconfig
+endif
+
+if EMBTK_LINUX_VERSION_2_6_29_X
+source kconfig/linux-kconfigs/linux-2.6.29.kconfig
+endif
+
+if EMBTK_LINUX_VERSION_2_6_28_X
+source kconfig/linux-kconfigs/linux-2.6.28.kconfig
+endif
+
+if EMBTK_LINUX_VERSION_2_6_27_X
+source kconfig/linux-kconfigs/linux-2.6.27.kconfig
+endif
+
config EMBTK_LINUX_HAVE_MIRROR
bool "Use a linux mirror"
help
@@ -62,10 +82,3 @@ config EMBTK_LINUX_HAVE_MIRROR_SITE
help
specify an alternate location where to download linux sources
-config EMBTK_LINUX_VERSION_STRING
- string
- default "2.6.30.6" if EMBTK_LINUX_VERSION_2_6_30_X
- default "2.6.29.6" if EMBTK_LINUX_VERSION_2_6_29_X
- default "2.6.28.10" if EMBTK_LINUX_VERSION_2_6_28_X
- default "2.6.27.20" if EMBTK_LINUX_VERSION_2_6_27_X
-