summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-12 13:40:05 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-12 13:50:14 +0200
commitbe3c5a5a97f7a73bea79de8e1040e3885d199921 (patch)
tree48ce496335bda183865cf3df7c97189e29e394b0 /kconfig
parent8c0ea1194bc0905926fb9e211c3356f2348c7ca7 (diff)
downloadembtoolkit-be3c5a5a97f7a73bea79de8e1040e3885d199921.tar.gz
embtoolkit-be3c5a5a97f7a73bea79de8e1040e3885d199921.tar.bz2
embtoolkit-be3c5a5a97f7a73bea79de8e1040e3885d199921.tar.xz
toolchain: work on building gmp and mpfr for the toolchain
This patch is an initial work in order to get and build mpfr and gmp, for the toolchain. Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/gmphost.kconfig56
-rw-r--r--kconfig/mpfrhost.kconfig6
2 files changed, 58 insertions, 4 deletions
diff --git a/kconfig/gmphost.kconfig b/kconfig/gmphost.kconfig
new file mode 100644
index 0000000..22e752e
--- /dev/null
+++ b/kconfig/gmphost.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 gmphost.kconfig
+# \brief gmphost.kconfig of Embtoolkit
+# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# \date May 2009
+#########################################################################################
+
+choice
+ prompt "Version of gmp you wish"
+ default EMBTK_GMP_HOST_VERSION_4_2_4
+ help
+ GMP is a free library for arbitrary precision arithmetic,
+ operating on signed integers, rational numbers,
+ and floating point numbers.
+ GMP is necessary in order to build MPFR.
+
+ config EMBTK_GMP_HOST_VERSION_4_3_1
+ bool "gmp-4.3.1"
+ config EMBTK_GMP_HOST_VERSION_4_3_0
+ bool "gmp-4.3.0"
+ config EMBTK_GMP_HOST_VERSION_4_2_4
+ bool "gmp-4.2.4"
+ config EMBTK_GMP_HOST_VERSION_4_2_3
+ bool "gmp-4.2.3"
+ config EMBTK_GMP_HOST_VERSION_4_2_2
+ bool "gmp-4.2.2"
+ config EMBTK_GMP_HOST_VERSION_4_2_1
+ bool "gmp-4.2.1"
+endchoice
+
+config EMBTK_GMP_HOST_VERSION_STRING
+string
+default "4.3.1" if EMBTK_GMP_HOST_VERSION_4_3_1
+default "4.3.0" if EMBTK_MPFR_HOST_VERSION_4_3_0
+default "4.2.4" if EMBTK_GMP_HOST_VERSION_4_2_4
+default "4.2.3" if EMBTK_GMP_HOST_VERSION_4_2_3
+default "4.2.2" if EMBTK_GMP_HOST_VERSION_4_2_2
+default "4.2.1" if EMBTK_GMP_HOST_VERSION_4_2_1
+
diff --git a/kconfig/mpfrhost.kconfig b/kconfig/mpfrhost.kconfig
index a391ba5..791be26 100644
--- a/kconfig/mpfrhost.kconfig
+++ b/kconfig/mpfrhost.kconfig
@@ -16,8 +16,8 @@
# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
#########################################################################################
#
-# \file mpfr.kconfig
-# \brief mpfr.kconfig of Embtoolkit
+# \file mpfrhost.kconfig
+# \brief mpfrhost.kconfig of Embtoolkit
# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# \date May 2009
#########################################################################################
@@ -41,5 +41,3 @@ string
default "2.4.1" if EMBTK_MPFR_HOST_VERSION_2_4_1
default "2.4.0" if EMBTK_MPFR_HOST_VERSION_2_4_0
-
-