summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-05-10 23:58:52 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-05-10 23:58:52 +0200
commit3151be5bdc4e7306790e6cfdcc372124d2b4d155 (patch)
tree64b8cce6d975730eaf80d56a313842d78ce8c273 /kconfig
parent725d3da2af536ac519fbc3355406dbe242e666ce (diff)
downloadembtoolkit-3151be5bdc4e7306790e6cfdcc372124d2b4d155.tar.gz
embtoolkit-3151be5bdc4e7306790e6cfdcc372124d2b4d155.tar.bz2
embtoolkit-3151be5bdc4e7306790e6cfdcc372124d2b4d155.tar.xz
Toolchain: linux headers: add linux-2.6.{37,38}.x kernel headers
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/linux-kconfigs/linux-2.6.37.kconfig56
-rw-r--r--kconfig/linux-kconfigs/linux-2.6.38.kconfig56
-rw-r--r--kconfig/linux.kconfig18
3 files changed, 130 insertions, 0 deletions
diff --git a/kconfig/linux-kconfigs/linux-2.6.37.kconfig b/kconfig/linux-kconfigs/linux-2.6.37.kconfig
new file mode 100644
index 0000000..3719940
--- /dev/null
+++ b/kconfig/linux-kconfigs/linux-2.6.37.kconfig
@@ -0,0 +1,56 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2011 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-2.6.37.kconfig
+# \brief linux v2.6.37.x series
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date May 2011
+################################################################################
+
+choice
+ prompt "Linux v2.6.37.x series exact version to use."
+ help
+ Linux v2.6.37.x series exact version to use.
+
+ config EMBTK_LINUX_VERSION_2_6_37_6
+ bool "linux-2.6.37.6"
+ config EMBTK_LINUX_VERSION_2_6_37_5
+ bool "linux-2.6.37.5"
+ config EMBTK_LINUX_VERSION_2_6_37_4
+ bool "linux-2.6.37.4"
+ config EMBTK_LINUX_VERSION_2_6_37_3
+ bool "linux-2.6.37.3"
+ config EMBTK_LINUX_VERSION_2_6_37_2
+ bool "linux-2.6.37.2"
+ config EMBTK_LINUX_VERSION_2_6_37_1
+ bool "linux-2.6.37.1"
+ config EMBTK_LINUX_VERSION_2_6_37
+ bool "linux-2.6.37"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "2.6.37.6" if EMBTK_LINUX_VERSION_2_6_37_6
+ default "2.6.37.5" if EMBTK_LINUX_VERSION_2_6_37_5
+ default "2.6.37.4" if EMBTK_LINUX_VERSION_2_6_37_4
+ default "2.6.37.3" if EMBTK_LINUX_VERSION_2_6_37_3
+ default "2.6.37.2" if EMBTK_LINUX_VERSION_2_6_37_2
+ default "2.6.37.1" if EMBTK_LINUX_VERSION_2_6_37_1
+ default "2.6.37" if EMBTK_LINUX_VERSION_2_6_37
+
diff --git a/kconfig/linux-kconfigs/linux-2.6.38.kconfig b/kconfig/linux-kconfigs/linux-2.6.38.kconfig
new file mode 100644
index 0000000..3503ab2
--- /dev/null
+++ b/kconfig/linux-kconfigs/linux-2.6.38.kconfig
@@ -0,0 +1,56 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2011 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-2.6.38.kconfig
+# \brief linux v2.6.38.x series
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date May 2011
+################################################################################
+
+choice
+ prompt "Linux v2.6.38.x series exact version to use."
+ help
+ Linux v2.6.38.x series exact version to use.
+
+ config EMBTK_LINUX_VERSION_2_6_38_6
+ bool "linux-2.6.38.6"
+ config EMBTK_LINUX_VERSION_2_6_38_5
+ bool "linux-2.6.38.5"
+ config EMBTK_LINUX_VERSION_2_6_38_4
+ bool "linux-2.6.38.4"
+ config EMBTK_LINUX_VERSION_2_6_38_3
+ bool "linux-2.6.38.3"
+ config EMBTK_LINUX_VERSION_2_6_38_2
+ bool "linux-2.6.38.2"
+ config EMBTK_LINUX_VERSION_2_6_38_1
+ bool "linux-2.6.38.1"
+ config EMBTK_LINUX_VERSION_2_6_38
+ bool "linux-2.6.38"
+endchoice
+
+config EMBTK_LINUX_VERSION_STRING
+ string
+ default "2.6.38.6" if EMBTK_LINUX_VERSION_2_6_38_6
+ default "2.6.38.5" if EMBTK_LINUX_VERSION_2_6_38_5
+ default "2.6.38.4" if EMBTK_LINUX_VERSION_2_6_38_4
+ default "2.6.38.3" if EMBTK_LINUX_VERSION_2_6_38_3
+ default "2.6.38.2" if EMBTK_LINUX_VERSION_2_6_38_2
+ default "2.6.38.1" if EMBTK_LINUX_VERSION_2_6_38_1
+ default "2.6.38" if EMBTK_LINUX_VERSION_2_6_38
+
diff --git a/kconfig/linux.kconfig b/kconfig/linux.kconfig
index 71a7571..9cb2895 100644
--- a/kconfig/linux.kconfig
+++ b/kconfig/linux.kconfig
@@ -29,6 +29,16 @@ choice
Here you can choose which Linux kernel headers you
you want to use.
+ config EMBTK_LINUX_VERSION_2_6_38_X
+ bool "linux-2.6.38.x"
+ select EMBTK_LINUX_PKG_IS_TARBZ2
+ help
+ Use a linux-2.6.38.x version.
+ config EMBTK_LINUX_VERSION_2_6_37_X
+ bool "linux-2.6.37.x"
+ select EMBTK_LINUX_PKG_IS_TARBZ2
+ help
+ Use a linux-2.6.37.x version.
config EMBTK_LINUX_VERSION_2_6_36_X
bool "linux-2.6.36.x"
select EMBTK_LINUX_PKG_IS_TARBZ2
@@ -81,6 +91,14 @@ choice
Use a linux-2.6.27.x version.
endchoice
+if EMBTK_LINUX_VERSION_2_6_38_X
+source kconfig/linux-kconfigs/linux-2.6.38.kconfig
+endif
+
+if EMBTK_LINUX_VERSION_2_6_37_X
+source kconfig/linux-kconfigs/linux-2.6.37.kconfig
+endif
+
if EMBTK_LINUX_VERSION_2_6_36_X
source kconfig/linux-kconfigs/linux-2.6.36.kconfig
endif