summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-08-18 15:41:56 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-08-18 15:41:56 +0200
commit99c8d3955a3d58f42bd70365d26f3f2470ee0f0c (patch)
treee0f9e23d550399f085c792c1bc98e6a1a7618ab0
parentba1310117b3826c72f953a7577c8c7702bafcf7c (diff)
downloadembtoolkit-99c8d3955a3d58f42bd70365d26f3f2470ee0f0c.tar.gz
embtoolkit-99c8d3955a3d58f42bd70365d26f3f2470ee0f0c.tar.bz2
embtoolkit-99c8d3955a3d58f42bd70365d26f3f2470ee0f0c.tar.xz
Toolchain: linux headers: add linux3.{4,5}.x
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--kconfig/linux-kconfigs/linux-3.4.kconfig42
-rw-r--r--kconfig/linux-kconfigs/linux-3.5.kconfig42
-rw-r--r--kconfig/linux.kconfig16
3 files changed, 100 insertions, 0 deletions
diff --git a/kconfig/linux-kconfigs/linux-3.4.kconfig b/kconfig/linux-kconfigs/linux-3.4.kconfig
new file mode 100644
index 0000000..c24577a
--- /dev/null
+++ b/kconfig/linux-kconfigs/linux-3.4.kconfig
@@ -0,0 +1,42 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2012 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file linux-3.4.kconfig
+# \brief linux v3.4.x series
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date August 2012
+################################################################################
+
+choice
+ prompt "Linux v3.4.x series exact version to use."
+ help
+ Linux v3.4.x series exact version to use.
+
+ config EMBTK_LINUX_VERSION_3_4_9
+ bool "linux-3.4.9"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "3.4.9" if EMBTK_LINUX_VERSION_3_4_9
+
+config EMBTK_LINUX_MAJOR_VERSION_STRING
+ string
+ default "v3.0"
+
diff --git a/kconfig/linux-kconfigs/linux-3.5.kconfig b/kconfig/linux-kconfigs/linux-3.5.kconfig
new file mode 100644
index 0000000..29f57f0
--- /dev/null
+++ b/kconfig/linux-kconfigs/linux-3.5.kconfig
@@ -0,0 +1,42 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2012 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that 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, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file linux-3.5.kconfig
+# \brief linux v3.5.x series
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date May 2012
+################################################################################
+
+choice
+ prompt "Linux v3.5.x series exact version to use."
+ help
+ Linux v3.5.x series exact version to use.
+
+ config EMBTK_LINUX_VERSION_3_5_2
+ bool "linux-3.5.2"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "3.5.2" if EMBTK_LINUX_VERSION_3_5_2
+
+config EMBTK_LINUX_MAJOR_VERSION_STRING
+ string
+ default "v3.0"
+
diff --git a/kconfig/linux.kconfig b/kconfig/linux.kconfig
index 9d9ea22..5421b2e 100644
--- a/kconfig/linux.kconfig
+++ b/kconfig/linux.kconfig
@@ -29,6 +29,14 @@ choice
Here you can choose which Linux kernel headers you
you want to use.
+ config EMBTK_LINUX_VERSION_3_5_X
+ bool "linux-3.5.x"
+ help
+ Use a linux-3.5.x version.
+ config EMBTK_LINUX_VERSION_3_4_X
+ bool "linux-3.4.x"
+ help
+ Use a linux-3.4.x version.
config EMBTK_LINUX_VERSION_3_3_X
bool "linux-3.3.x"
help
@@ -99,6 +107,14 @@ choice
Use a linux-2.6.27.x version.
endchoice
+if EMBTK_LINUX_VERSION_3_5_X
+source kconfig/linux-kconfigs/linux-3.5.kconfig
+endif
+
+if EMBTK_LINUX_VERSION_3_4_X
+source kconfig/linux-kconfigs/linux-3.4.kconfig
+endif
+
if EMBTK_LINUX_VERSION_3_3_X
source kconfig/linux-kconfigs/linux-3.3.kconfig
endif