summaryrefslogtreecommitdiff
path: root/config/gmp_mpfr.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/gmp_mpfr.in')
-rw-r--r--config/gmp_mpfr.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/config/gmp_mpfr.in b/config/gmp_mpfr.in
new file mode 100644
index 0000000..3ae6a91
--- /dev/null
+++ b/config/gmp_mpfr.in
@@ -0,0 +1,34 @@
+# GMP and MPFR libraries config options
+
+menu "GMP and MPFR"
+
+config GMP_MPFR
+ bool
+ prompt "GMP and MPFR"
+ help
+ Recent gcc needs both GMP and MPFR to build some frontends.
+
+ Say 'Y' here if you want to build those two libraries specifically
+ for crosstool-NG.
+
+ The packages that can use GMP and MPFR are:
+ - binutils
+ - gcc
+ - gdb
+
+config GMP_MPFR_TARGET
+ bool
+ prompt "Build libraries for the target"
+ depends on GMP_MPFR
+ default n
+ help
+ Also build libraries for the target. This can be usefull if you want
+ to later build a compiler that will run on the target, or if you want
+ to run gdb natively on the target.
+
+if GMP_MPFR
+source config/cc/gmp.in
+source config/cc/mpfr.in
+endif
+
+endmenu