From d7d8d85ca4abe778f994a0a1c2c6186a458e744d Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 5 Dec 2009 10:51:05 +0100 Subject: Toolchain: linux headers: introduce build of toolchain based on linux-2.6.32.x headers Signed-off-by: Abdoulaye Walsimou Gaye --- kconfig/linux-kconfigs/linux-2.6.32.kconfig | 37 +++++++++++++++++++++++++++++ kconfig/linux.kconfig | 10 +++++++- 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 kconfig/linux-kconfigs/linux-2.6.32.kconfig diff --git a/kconfig/linux-kconfigs/linux-2.6.32.kconfig b/kconfig/linux-kconfigs/linux-2.6.32.kconfig new file mode 100644 index 0000000..653e775 --- /dev/null +++ b/kconfig/linux-kconfigs/linux-2.6.32.kconfig @@ -0,0 +1,37 @@ +################################################################################ +# GAYE Abdoulaye Walsimou, +# 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.32.kconfig +# \brief linux v2.6.32.x series +# \author GAYE Abdoulaye Walsimou, +# \date December 2009 +################################################################################ + +choice + prompt "Linux v2.6.32.x series exact version to use." + default EMBTK_LINUX_VERSION_2_6_32 + help + Linux v2.6.32.x series exact version to use. + + config EMBTK_LINUX_VERSION_2_6_32 + bool "linux-2.6.32" +endchoice + +config EMBTK_LINUX_VERSION_STRING + string + default "2.6.32" if EMBTK_LINUX_VERSION_2_6_32 diff --git a/kconfig/linux.kconfig b/kconfig/linux.kconfig index b9c97ae..631ab51 100644 --- a/kconfig/linux.kconfig +++ b/kconfig/linux.kconfig @@ -24,11 +24,15 @@ choice prompt "Linux series to use" - default EMBTK_LINUX_VERSION_2_6_30_X + default EMBTK_LINUX_VERSION_2_6_31_X help Here you can choose which Linux kernel headers you you want to use. + config EMBTK_LINUX_VERSION_2_6_32_X + bool "linux-2.6.32.x" + help + Use a linux-2.6.32.x version. config EMBTK_LINUX_VERSION_2_6_31_X bool "linux-2.6.31.x" help @@ -51,6 +55,10 @@ choice Use a linux-2.6.27.x version. endchoice +if EMBTK_LINUX_VERSION_2_6_32_X +source kconfig/linux-kconfigs/linux-2.6.32.kconfig +endif + if EMBTK_LINUX_VERSION_2_6_31_X source kconfig/linux-kconfigs/linux-2.6.31.kconfig endif -- cgit v1.2.3