aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/distro/include/sane-toolchain.inc2
-rw-r--r--recipes/gcc/gcc-3.3.3.inc3
-rw-r--r--recipes/gcc/gcc-3.3.4.inc5
-rw-r--r--recipes/gcc/gcc-3.4.3.inc5
-rw-r--r--recipes/gcc/gcc-3.4.4.inc5
-rw-r--r--recipes/gcc/gcc-3.4.6.inc3
-rw-r--r--recipes/gcc/gcc-4.0.0.inc5
-rw-r--r--recipes/gcc/gcc-4.0.2.inc5
-rw-r--r--recipes/gcc/gcc-4.1.0.inc3
-rw-r--r--recipes/gcc/gcc-4.1.1.inc7
-rw-r--r--recipes/gcc/gcc-4.1.2.inc7
-rw-r--r--recipes/gcc/gcc-4.2.1.inc5
-rw-r--r--recipes/gcc/gcc-4.2.2.inc7
-rw-r--r--recipes/gcc/gcc-4.2.3.inc5
-rw-r--r--recipes/gcc/gcc-4.2.4.inc7
-rw-r--r--recipes/gcc/gcc-4.3.1.inc7
-rw-r--r--recipes/gcc/gcc-4.3.2.inc7
-rw-r--r--recipes/gcc/gcc-4.3.3.inc7
-rw-r--r--recipes/gcc/gcc-4.3.4.inc7
-rw-r--r--recipes/gcc/gcc-4.4.1.inc12
-rw-r--r--recipes/gcc/gcc-4.4.2.inc9
-rw-r--r--recipes/gcc/gcc-4.4.3.inc13
-rw-r--r--recipes/gcc/gcc-canadian-sdk_4.2.4.bb8
-rw-r--r--recipes/gcc/gcc-common.inc15
-rw-r--r--recipes/gcc/gcc-cross-initial_4.0.0.bb2
-rw-r--r--recipes/gcc/gcc-cross-initial_4.3.1.bb2
-rw-r--r--recipes/gcc/gcc-cross-initial_4.3.2.bb2
-rw-r--r--recipes/gcc/gcc-cross-initial_4.3.3.bb2
-rw-r--r--recipes/gcc/gcc-cross-initial_4.3.4.bb2
-rw-r--r--recipes/gcc/gcc-cross-initial_4.4.1.bb2
-rw-r--r--recipes/gcc/gcc-cross-initial_4.4.2.bb2
-rw-r--r--recipes/gcc/gcc-cross-initial_4.4.3.bb2
-rw-r--r--recipes/gcc/gcc-cross-initial_svn.bb2
-rw-r--r--recipes/gcc/gcc-cross-intermediate_4.3.1.bb2
-rw-r--r--recipes/gcc/gcc-cross-intermediate_4.3.2.bb2
-rw-r--r--recipes/gcc/gcc-cross-intermediate_4.3.3.bb2
-rw-r--r--recipes/gcc/gcc-cross-intermediate_4.3.4.bb2
-rw-r--r--recipes/gcc/gcc-cross-intermediate_4.4.1.bb2
-rw-r--r--recipes/gcc/gcc-cross-intermediate_4.4.2.bb2
-rw-r--r--recipes/gcc/gcc-cross-intermediate_4.4.3.bb2
-rw-r--r--recipes/gcc/gcc-cross-intermediate_svn.bb2
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.1.0.bb4
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.1.1.bb4
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.1.2.bb6
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.2.2.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.2.3.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.2.4.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.3.1.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.3.2.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.3.3.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.3.4.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.4.1.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.4.2.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.4.3.bb7
-rw-r--r--recipes/gcc/gcc-cross-sdk_csl-arm-2007q3.bb3
-rw-r--r--recipes/gcc/gcc-cross-sdk_svn.bb7
-rw-r--r--recipes/gcc/gcc-cross4.inc2
-rw-r--r--recipes/gcc/gcc-cross_4.1.0.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.1.1.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.1.2.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.2.1.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.2.2.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.2.3.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.2.4.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.3.1.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.3.2.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.3.3.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.3.4.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.4.1.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.4.2.bb4
-rw-r--r--recipes/gcc/gcc-cross_4.4.3.bb4
-rw-r--r--recipes/gcc/gcc-cross_csl-arm-2007q3.bb4
-rw-r--r--recipes/gcc/gcc-cross_csl-arm-2008q1.bb4
-rw-r--r--recipes/gcc/gcc-cross_csl-arm-2008q3.bb4
-rw-r--r--recipes/gcc/gcc-cross_svn.bb4
-rw-r--r--recipes/gcc/gcc-csl-arm-2005q3.inc15
-rw-r--r--recipes/gcc/gcc-csl-arm-2006q1.inc13
-rw-r--r--recipes/gcc/gcc-csl-arm-2007q3.inc13
-rw-r--r--recipes/gcc/gcc-csl-arm-2008q1.inc13
-rw-r--r--recipes/gcc/gcc-csl-arm-2008q3.inc13
-rw-r--r--recipes/gcc/gcc-svn.inc3
81 files changed, 251 insertions, 180 deletions
diff --git a/conf/distro/include/sane-toolchain.inc b/conf/distro/include/sane-toolchain.inc
index dce11bb2b5..5aedb64ff5 100644
--- a/conf/distro/include/sane-toolchain.inc
+++ b/conf/distro/include/sane-toolchain.inc
@@ -5,8 +5,6 @@
#############################################################################
# Base line versions, good for most things
-PREFERRED_GMP_VERSION ?= "4.2.4"
-PREFERRED_MPFR_VERSION ?= "2.3.2"
PREFERRED_GCC_VERSION ?= "4.4.2"
PREFERRED_BINUTILS ?= "2.20"
diff --git a/recipes/gcc/gcc-3.3.3.inc b/recipes/gcc/gcc-3.3.3.inc
index 3607c86281..f0da44b3d8 100644
--- a/recipes/gcc/gcc-3.3.3.inc
+++ b/recipes/gcc/gcc-3.3.3.inc
@@ -1,6 +1,7 @@
require gcc-common.inc
-SRC_URI += "file://config.sub.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/releases/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://config.sub.patch;patch=1 \
file://empty6.patch;patch=1 \
file://pr10392-1-test.patch;patch=1 \
file://pr10412-1-test.patch;patch=1 \
diff --git a/recipes/gcc/gcc-3.3.4.inc b/recipes/gcc/gcc-3.3.4.inc
index cf64db36fc..a3fbdded8f 100644
--- a/recipes/gcc/gcc-3.3.4.inc
+++ b/recipes/gcc/gcc-3.3.4.inc
@@ -1,8 +1,9 @@
require gcc-common.inc
-INC_PR = "r12"
+INC_PR = "r11"
-SRC_URI += "file://arm-gotoff.dpatch;patch=1;pnum=0 \
+SRC_URI = "${GNU_MIRROR}/gcc/releases/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://arm-gotoff.dpatch;patch=1;pnum=0 \
file://arm-ldm.dpatch;patch=1;pnum=0 \
file://arm-tune.patch;patch=1;pnum=0 \
file://arm-ldm-peephole.patch;patch=1;pnum=0 \
diff --git a/recipes/gcc/gcc-3.4.3.inc b/recipes/gcc/gcc-3.4.3.inc
index f870e02269..febe0fc67e 100644
--- a/recipes/gcc/gcc-3.4.3.inc
+++ b/recipes/gcc/gcc-3.4.3.inc
@@ -1,8 +1,9 @@
require gcc-common.inc
-INC_PR = "r20"
+INC_PR = "r19"
-SRC_URI += "file://gcc34-reverse-compare.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://gcc34-reverse-compare.patch;patch=1 \
file://gcc34-arm-ldm.patch;patch=1 \
file://gcc34-arm-ldm-peephole.patch;patch=1 \
file://gcc34-arm-tune.patch;patch=1 \
diff --git a/recipes/gcc/gcc-3.4.4.inc b/recipes/gcc/gcc-3.4.4.inc
index afd47ba674..b87e1e396b 100644
--- a/recipes/gcc/gcc-3.4.4.inc
+++ b/recipes/gcc/gcc-3.4.4.inc
@@ -1,8 +1,9 @@
require gcc-common.inc
-INC_PR = "r16"
+INC_PR = "r15"
-SRC_URI += "file://gcc34-reverse-compare.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://gcc34-reverse-compare.patch;patch=1 \
file://gcc34-arm-ldm.patch;patch=1 \
file://gcc34-arm-ldm-peephole.patch;patch=1 \
file://gcc34-arm-tune.patch;patch=1 \
diff --git a/recipes/gcc/gcc-3.4.6.inc b/recipes/gcc/gcc-3.4.6.inc
index b46c5ba5f1..faab40623e 100644
--- a/recipes/gcc/gcc-3.4.6.inc
+++ b/recipes/gcc/gcc-3.4.6.inc
@@ -1,6 +1,7 @@
require gcc-common.inc
-SRC_URI += "file://gcc34-reverse-compare.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://gcc34-reverse-compare.patch;patch=1 \
file://gcc34-arm-ldm.patch;patch=1 \
file://gcc34-arm-ldm-peephole.patch;patch=1 \
file://gcc34-arm-tune.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.0.0.inc b/recipes/gcc/gcc-4.0.0.inc
index f8878ec886..fe56c3443b 100644
--- a/recipes/gcc/gcc-4.0.0.inc
+++ b/recipes/gcc/gcc-4.0.0.inc
@@ -1,8 +1,9 @@
require gcc-common.inc
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-SRC_URI += "file://gcc-posix-open-fix.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://gcc-posix-open-fix.patch;patch=1 \
file://zecke-xgcc-cpp.patch;patch=1"
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
diff --git a/recipes/gcc/gcc-4.0.2.inc b/recipes/gcc/gcc-4.0.2.inc
index 083c01084f..a80e4010b3 100644
--- a/recipes/gcc/gcc-4.0.2.inc
+++ b/recipes/gcc/gcc-4.0.2.inc
@@ -1,8 +1,9 @@
require gcc-common.inc
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-SRC_URI += "file://gcc-posix-open-fix.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://gcc-posix-open-fix.patch;patch=1 \
file://arm-nolibfloat.patch;patch=1 \
file://arm-softfloat.patch;patch=1 \
file://GCOV_PREFIX_STRIP-cross-profile_4.1.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.1.0.inc b/recipes/gcc/gcc-4.1.0.inc
index 846899196f..df0ae3f251 100644
--- a/recipes/gcc/gcc-4.1.0.inc
+++ b/recipes/gcc/gcc-4.1.0.inc
@@ -7,7 +7,8 @@ DEFAULT_PREFERENCE = "-1"
# Use the same patches as gcc-4.1.1 does
FILESPATHPKG .= ":gcc-4.1.1"
-SRC_URI += "file://arm-nolibfloat.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://arm-nolibfloat.patch;patch=1 \
file://arm-softfloat.patch;patch=1 \
file://zecke-xgcc-cpp.patch;patch=1 \
file://pr34130.patch;patch=1"
diff --git a/recipes/gcc/gcc-4.1.1.inc b/recipes/gcc/gcc-4.1.1.inc
index 0095b3d7a1..a960b415f2 100644
--- a/recipes/gcc/gcc-4.1.1.inc
+++ b/recipes/gcc/gcc-4.1.1.inc
@@ -1,10 +1,11 @@
require gcc-common.inc
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r2"
+INC_PR = "r1"
-SRC_URI += "file://100-uclibc-conf.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://100-uclibc-conf.patch;patch=1 \
file://110-arm-eabi.patch;patch=1 \
file://200-uclibc-locale.patch;patch=1 \
file://300-libstdc++-pic.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.1.2.inc b/recipes/gcc/gcc-4.1.2.inc
index 38abd72bab..21bf4869c2 100644
--- a/recipes/gcc/gcc-4.1.2.inc
+++ b/recipes/gcc/gcc-4.1.2.inc
@@ -1,10 +1,11 @@
require gcc-common.inc
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r23"
+INC_PR = "r22"
-SRC_URI += "file://100-uclibc-conf.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://100-uclibc-conf.patch;patch=1 \
file://110-arm-eabi.patch;patch=1 \
file://200-uclibc-locale.patch;patch=1 \
file://300-libstdc++-pic.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.2.1.inc b/recipes/gcc/gcc-4.2.1.inc
index 3cba5ba236..c4e2c3a0c6 100644
--- a/recipes/gcc/gcc-4.2.1.inc
+++ b/recipes/gcc/gcc-4.2.1.inc
@@ -1,8 +1,9 @@
require gcc-common.inc
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-SRC_URI += "file://100-uclibc-conf.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://100-uclibc-conf.patch;patch=1 \
file://103-uclibc-conf-noupstream.patch;patch=1 \
file://200-uclibc-locale.patch;patch=1 \
file://203-uclibc-locale-no__x.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.2.2.inc b/recipes/gcc/gcc-4.2.2.inc
index 0110c6cde9..931de9a650 100644
--- a/recipes/gcc/gcc-4.2.2.inc
+++ b/recipes/gcc/gcc-4.2.2.inc
@@ -1,11 +1,12 @@
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r17"
+INC_PR = "r16"
-SRC_URI += "file://100-uclibc-conf.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://100-uclibc-conf.patch;patch=1 \
file://103-uclibc-conf-noupstream.patch;patch=1 \
file://200-uclibc-locale.patch;patch=1 \
file://203-uclibc-locale-no__x.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.2.3.inc b/recipes/gcc/gcc-4.2.3.inc
index ae52f82b0b..b2fb0292bb 100644
--- a/recipes/gcc/gcc-4.2.3.inc
+++ b/recipes/gcc/gcc-4.2.3.inc
@@ -1,11 +1,12 @@
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
INC_PR = "r17"
-SRC_URI += "file://100-uclibc-conf.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://100-uclibc-conf.patch;patch=1 \
file://103-uclibc-conf-noupstream.patch;patch=1 \
file://200-uclibc-locale.patch;patch=1 \
file://203-uclibc-locale-no__x.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.2.4.inc b/recipes/gcc/gcc-4.2.4.inc
index 0a6d410c33..e96122a2b2 100644
--- a/recipes/gcc/gcc-4.2.4.inc
+++ b/recipes/gcc/gcc-4.2.4.inc
@@ -1,11 +1,12 @@
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r11"
+INC_PR = "r10"
-SRC_URI += "file://100-uclibc-conf.patch;patch=1 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://100-uclibc-conf.patch;patch=1 \
file://103-uclibc-conf-noupstream.patch;patch=1 \
file://200-uclibc-locale.patch;patch=1 \
file://203-uclibc-locale-no__x.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.3.1.inc b/recipes/gcc/gcc-4.3.1.inc
index b837526f1b..3eaff45599 100644
--- a/recipes/gcc/gcc-4.3.1.inc
+++ b/recipes/gcc/gcc-4.3.1.inc
@@ -5,11 +5,12 @@ ARM_INSTRUCTION_SET = "arm"
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r21"
+INC_PR = "r20"
-SRC_URI += "file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
file://fedora/gcc43-ia64-libunwind.patch;patch=1;pnum=0 \
file://fedora/gcc43-java-nomulti.patch;patch=1;pnum=0 \
file://fedora/gcc43-ppc32-retaddr.patch;patch=1;pnum=0 \
diff --git a/recipes/gcc/gcc-4.3.2.inc b/recipes/gcc/gcc-4.3.2.inc
index d0ad53e748..8d40d72795 100644
--- a/recipes/gcc/gcc-4.3.2.inc
+++ b/recipes/gcc/gcc-4.3.2.inc
@@ -5,11 +5,12 @@ ARM_INSTRUCTION_SET = "arm"
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r11"
+INC_PR = "r10"
-SRC_URI += "file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
file://fedora/gcc43-ia64-libunwind.patch;patch=1;pnum=0 \
file://fedora/gcc43-java-nomulti.patch;patch=1;pnum=0 \
file://fedora/gcc43-ppc32-retaddr.patch;patch=1;pnum=0 \
diff --git a/recipes/gcc/gcc-4.3.3.inc b/recipes/gcc/gcc-4.3.3.inc
index 759f81eab3..47bfbc6a24 100644
--- a/recipes/gcc/gcc-4.3.3.inc
+++ b/recipes/gcc/gcc-4.3.3.inc
@@ -5,11 +5,12 @@ ARM_INSTRUCTION_SET = "arm"
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r12"
+INC_PR = "r11"
-SRC_URI += "file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
file://fedora/gcc43-ia64-libunwind.patch;patch=1;pnum=0 \
file://fedora/gcc43-java-nomulti.patch;patch=1;pnum=0 \
file://fedora/gcc43-ppc32-retaddr.patch;patch=1;pnum=0 \
diff --git a/recipes/gcc/gcc-4.3.4.inc b/recipes/gcc/gcc-4.3.4.inc
index cdac25e58d..ff02ac5e47 100644
--- a/recipes/gcc/gcc-4.3.4.inc
+++ b/recipes/gcc/gcc-4.3.4.inc
@@ -5,11 +5,12 @@ ARM_INSTRUCTION_SET = "arm"
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r9"
+INC_PR = "r8"
-SRC_URI += "file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
file://fedora/gcc43-ia64-libunwind.patch;patch=1;pnum=0 \
file://fedora/gcc43-java-nomulti.patch;patch=1;pnum=0 \
file://fedora/gcc43-ppc32-retaddr.patch;patch=1;pnum=0 \
diff --git a/recipes/gcc/gcc-4.4.1.inc b/recipes/gcc/gcc-4.4.1.inc
index 173d6dde0d..cbf28ddc62 100644
--- a/recipes/gcc/gcc-4.4.1.inc
+++ b/recipes/gcc/gcc-4.4.1.inc
@@ -5,11 +5,14 @@ ARM_INSTRUCTION_SET = "arm"
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r9"
+INC_PR = "r8"
-SRC_URI += "file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch;patch=1 \
+FILESPATHPKG .= ":gcc-$PV"
+
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch;patch=1 \
file://100-uclibc-conf.patch;patch=1 \
file://gcc-uclibc-locale-ctype_touplow_t.patch;patch=1 \
file://gcc-disable-linux-unwind-with-libc-inhibit.patch;patch=1 \
@@ -22,9 +25,6 @@ SRC_URI += "file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch;patch=1 \
file://gcc-pr41175.patch;patch=1 \
file://gcc-armv4-pass-fix-v4bx-to-ld.patch;patch=1 \
"
-SRC_URI[gcctbz2.md5sum] = "927eaac3d44b22f31f9c83df82f26436"
-SRC_URI[gcctbz2.sha256sum] = "cbefa9abd4adac0931e1b556072dcd8b32a360d4b95a94d7822c86bded803d5b"
-
# Language Overrides
FORTRAN = ""
JAVA = ""
diff --git a/recipes/gcc/gcc-4.4.2.inc b/recipes/gcc/gcc-4.4.2.inc
index 8617a6f87a..4b11f310c4 100644
--- a/recipes/gcc/gcc-4.4.2.inc
+++ b/recipes/gcc/gcc-4.4.2.inc
@@ -5,11 +5,14 @@ ARM_INSTRUCTION_SET = "arm"
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r3"
+INC_PR = "r2"
-SRC_URI += "file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch;patch=1 \
+FILESPATHPKG .= ":gcc-$PV"
+
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
+ file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch;patch=1 \
file://100-uclibc-conf.patch;patch=1 \
file://gcc-uclibc-locale-ctype_touplow_t.patch;patch=1 \
file://gcc-disable-linux-unwind-with-libc-inhibit.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.4.3.inc b/recipes/gcc/gcc-4.4.3.inc
index 0eb8142221..25098d523b 100644
--- a/recipes/gcc/gcc-4.4.3.inc
+++ b/recipes/gcc/gcc-4.4.3.inc
@@ -5,11 +5,14 @@ ARM_INSTRUCTION_SET = "arm"
require gcc-common.inc
LICENSE = "GPLv3"
-DEPENDS = ""
+DEPENDS = "mpfr gmp"
-INC_PR = "r1"
+INC_PR = "r0"
-SRC_URI += "file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch;patch=1 \
+FILESPATHPKG .= ":gcc-$PV"
+
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2;name=gcc443tarbz2 \
+ file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch;patch=1 \
file://100-uclibc-conf.patch;patch=1 \
file://gcc-uclibc-locale-ctype_touplow_t.patch;patch=1 \
file://gcc-disable-linux-unwind-with-libc-inhibit.patch;patch=1 \
@@ -22,8 +25,8 @@ SRC_URI += "file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch;patch=1 \
file://gcc-pr41175.patch;patch=1 \
file://gcc-armv4-pass-fix-v4bx-to-ld.patch;patch=1 \
"
-SRC_URI[gcctbz2.md5sum] = "fe1ca818fc6d2caeffc9051fe67ff103"
-SRC_URI[gcctbz2.sha256sum] = "97ed664694b02b4d58ac2cafe443d02a388f9cb3645e7778843b5086a5fec040"
+SRC_URI[gcc443tarbz2.md5sum] = "fe1ca818fc6d2caeffc9051fe67ff103"
+SRC_URI[gcc443tarbz2.sha256sum] = "97ed664694b02b4d58ac2cafe443d02a388f9cb3645e7778843b5086a5fec040"
# Language Overrides
FORTRAN = ""
diff --git a/recipes/gcc/gcc-canadian-sdk_4.2.4.bb b/recipes/gcc/gcc-canadian-sdk_4.2.4.bb
index dbcca3b445..dadb5b04f6 100644
--- a/recipes/gcc/gcc-canadian-sdk_4.2.4.bb
+++ b/recipes/gcc/gcc-canadian-sdk_4.2.4.bb
@@ -1,6 +1,6 @@
inherit canadian-sdk
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.2"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
@@ -8,6 +8,9 @@ PACKAGES = "${PN}"
require gcc-${PV}.inc
+# Correct gmp / mpfr
+DEPENDS = "gmp-canadian mpfr-canadian"
+
require gcc-configure-canadian-sdk.inc
require gcc-package-sdk.inc
@@ -19,4 +22,5 @@ SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1 \
"
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_LIBDIR}"
diff --git a/recipes/gcc/gcc-common.inc b/recipes/gcc/gcc-common.inc
index 488b235560..e6683cd6a1 100644
--- a/recipes/gcc/gcc-common.inc
+++ b/recipes/gcc/gcc-common.inc
@@ -3,14 +3,6 @@ HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
LICENSE = "GPL"
-# In case sane-toolchain.inc is not used.
-PREFERRED_GMP_VERSION ?= "4.2.4"
-PREFERRED_MPFR_VERSION ?= "2.3.2"
-
-SRC_URI = "${GNU_MIRROR}/gcc/releases/gcc-${PV}/gcc-${PV}.tar.bz2;name=gcctbz2 \
- ${GNU_MIRROR}/gmp/gmp-${PREFERRED_GMP_VERSION}.tar.bz2 \
- http://www.mpfr.org/mpfr-${PREFERRED_MPFR_VERSION}/mpfr-${PREFERRED_MPFR_VERSION}.tar.bz2"
-
inherit autotools gettext
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
@@ -50,10 +42,3 @@ BINV = "${PV}"
S = "${WORKDIR}/gcc-${PV}"
B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
-do_unpack2() {
- cd ${WORKDIR}
- mv gmp-${PREFERRED_GMP_VERSION} gcc-${PV}/gmp
- mv mpfr-${PREFERRED_MPFR_VERSION} gcc-${PV}/mpfr
-}
-
-addtask unpack2 after do_unpack before do_patch
diff --git a/recipes/gcc/gcc-cross-initial_4.0.0.bb b/recipes/gcc/gcc-cross-initial_4.0.0.bb
index ffe5fe37eb..976cd96b00 100644
--- a/recipes/gcc/gcc-cross-initial_4.0.0.bb
+++ b/recipes/gcc/gcc-cross-initial_4.0.0.bb
@@ -1,4 +1,6 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += "--disable-multilib --disable-libssp --disable-libmudflap"
diff --git a/recipes/gcc/gcc-cross-initial_4.3.1.bb b/recipes/gcc/gcc-cross-initial_4.3.1.bb
index 8ee2e6eec8..067ab61be3 100644
--- a/recipes/gcc/gcc-cross-initial_4.3.1.bb
+++ b/recipes/gcc/gcc-cross-initial_4.3.1.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--enable-decimal-float=no \
diff --git a/recipes/gcc/gcc-cross-initial_4.3.2.bb b/recipes/gcc/gcc-cross-initial_4.3.2.bb
index 8ee2e6eec8..067ab61be3 100644
--- a/recipes/gcc/gcc-cross-initial_4.3.2.bb
+++ b/recipes/gcc/gcc-cross-initial_4.3.2.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--enable-decimal-float=no \
diff --git a/recipes/gcc/gcc-cross-initial_4.3.3.bb b/recipes/gcc/gcc-cross-initial_4.3.3.bb
index 8ee2e6eec8..067ab61be3 100644
--- a/recipes/gcc/gcc-cross-initial_4.3.3.bb
+++ b/recipes/gcc/gcc-cross-initial_4.3.3.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--enable-decimal-float=no \
diff --git a/recipes/gcc/gcc-cross-initial_4.3.4.bb b/recipes/gcc/gcc-cross-initial_4.3.4.bb
index 8ee2e6eec8..067ab61be3 100644
--- a/recipes/gcc/gcc-cross-initial_4.3.4.bb
+++ b/recipes/gcc/gcc-cross-initial_4.3.4.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--enable-decimal-float=no \
diff --git a/recipes/gcc/gcc-cross-initial_4.4.1.bb b/recipes/gcc/gcc-cross-initial_4.4.1.bb
index 8ee2e6eec8..067ab61be3 100644
--- a/recipes/gcc/gcc-cross-initial_4.4.1.bb
+++ b/recipes/gcc/gcc-cross-initial_4.4.1.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--enable-decimal-float=no \
diff --git a/recipes/gcc/gcc-cross-initial_4.4.2.bb b/recipes/gcc/gcc-cross-initial_4.4.2.bb
index 8ee2e6eec8..067ab61be3 100644
--- a/recipes/gcc/gcc-cross-initial_4.4.2.bb
+++ b/recipes/gcc/gcc-cross-initial_4.4.2.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--enable-decimal-float=no \
diff --git a/recipes/gcc/gcc-cross-initial_4.4.3.bb b/recipes/gcc/gcc-cross-initial_4.4.3.bb
index 8ee2e6eec8..067ab61be3 100644
--- a/recipes/gcc/gcc-cross-initial_4.4.3.bb
+++ b/recipes/gcc/gcc-cross-initial_4.4.3.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--enable-decimal-float=no \
diff --git a/recipes/gcc/gcc-cross-initial_svn.bb b/recipes/gcc/gcc-cross-initial_svn.bb
index 8ee2e6eec8..8356dd1fac 100644
--- a/recipes/gcc/gcc-cross-initial_svn.bb
+++ b/recipes/gcc/gcc-cross-initial_svn.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
+DEPENDS += "gmp-native mpfr-native libmpc-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--enable-decimal-float=no \
diff --git a/recipes/gcc/gcc-cross-intermediate_4.3.1.bb b/recipes/gcc/gcc-cross-intermediate_4.3.1.bb
index a909fa72fd..a9ae5bdf20 100644
--- a/recipes/gcc/gcc-cross-intermediate_4.3.1.bb
+++ b/recipes/gcc/gcc-cross-intermediate_4.3.1.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--disable-libssp"
diff --git a/recipes/gcc/gcc-cross-intermediate_4.3.2.bb b/recipes/gcc/gcc-cross-intermediate_4.3.2.bb
index a909fa72fd..a9ae5bdf20 100644
--- a/recipes/gcc/gcc-cross-intermediate_4.3.2.bb
+++ b/recipes/gcc/gcc-cross-intermediate_4.3.2.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--disable-libssp"
diff --git a/recipes/gcc/gcc-cross-intermediate_4.3.3.bb b/recipes/gcc/gcc-cross-intermediate_4.3.3.bb
index a909fa72fd..a9ae5bdf20 100644
--- a/recipes/gcc/gcc-cross-intermediate_4.3.3.bb
+++ b/recipes/gcc/gcc-cross-intermediate_4.3.3.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--disable-libssp"
diff --git a/recipes/gcc/gcc-cross-intermediate_4.3.4.bb b/recipes/gcc/gcc-cross-intermediate_4.3.4.bb
index a909fa72fd..a9ae5bdf20 100644
--- a/recipes/gcc/gcc-cross-intermediate_4.3.4.bb
+++ b/recipes/gcc/gcc-cross-intermediate_4.3.4.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--disable-libssp"
diff --git a/recipes/gcc/gcc-cross-intermediate_4.4.1.bb b/recipes/gcc/gcc-cross-intermediate_4.4.1.bb
index 51c12aef4f..3ca59aa02f 100644
--- a/recipes/gcc/gcc-cross-intermediate_4.4.1.bb
+++ b/recipes/gcc/gcc-cross-intermediate_4.4.1.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--disable-libssp \
diff --git a/recipes/gcc/gcc-cross-intermediate_4.4.2.bb b/recipes/gcc/gcc-cross-intermediate_4.4.2.bb
index 51c12aef4f..3ca59aa02f 100644
--- a/recipes/gcc/gcc-cross-intermediate_4.4.2.bb
+++ b/recipes/gcc/gcc-cross-intermediate_4.4.2.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--disable-libssp \
diff --git a/recipes/gcc/gcc-cross-intermediate_4.4.3.bb b/recipes/gcc/gcc-cross-intermediate_4.4.3.bb
index 51c12aef4f..3ca59aa02f 100644
--- a/recipes/gcc/gcc-cross-intermediate_4.4.3.bb
+++ b/recipes/gcc/gcc-cross-intermediate_4.4.3.bb
@@ -1,6 +1,8 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
--disable-libssp \
diff --git a/recipes/gcc/gcc-cross-intermediate_svn.bb b/recipes/gcc/gcc-cross-intermediate_svn.bb
index 923c16d70a..b816c8b81c 100644
--- a/recipes/gcc/gcc-cross-intermediate_svn.bb
+++ b/recipes/gcc/gcc-cross-intermediate_svn.bb
@@ -1,7 +1,7 @@
require gcc-cross_${PV}.bb
require gcc-cross-intermediate.inc
-DEPENDS += "libmpc-native"
+DEPENDS += "libmpc-native gmp-native mpfr-native"
EXTRA_OECONF += " --disable-libmudflap \
--disable-libgomp \
diff --git a/recipes/gcc/gcc-cross-sdk_4.1.0.bb b/recipes/gcc/gcc-cross-sdk_4.1.0.bb
index fcc21e78d3..f133db31b1 100644
--- a/recipes/gcc/gcc-cross-sdk_4.1.0.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.1.0.bb
@@ -1,6 +1,8 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+
+DEPENDS += "gmp-native mpfr-native"
diff --git a/recipes/gcc/gcc-cross-sdk_4.1.1.bb b/recipes/gcc/gcc-cross-sdk_4.1.1.bb
index fcc21e78d3..f133db31b1 100644
--- a/recipes/gcc/gcc-cross-sdk_4.1.1.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.1.1.bb
@@ -1,6 +1,8 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+
+DEPENDS += "gmp-native mpfr-native"
diff --git a/recipes/gcc/gcc-cross-sdk_4.1.2.bb b/recipes/gcc/gcc-cross-sdk_4.1.2.bb
index 6bd78ec54a..6a7460664f 100644
--- a/recipes/gcc/gcc-cross-sdk_4.1.2.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.1.2.bb
@@ -1,8 +1,10 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
-EXTRA_OECONF += "--disable-libunwind-exceptions"
+DEPENDS += "gmp-native mpfr-native"
+
+EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.2.2.bb b/recipes/gcc/gcc-cross-sdk_4.2.2.bb
index 39e6a0d3b0..bea9839246 100644
--- a/recipes/gcc/gcc-cross-sdk_4.2.2.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.2.2.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
inherit sdk
@@ -7,5 +7,8 @@ require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.2.3.bb b/recipes/gcc/gcc-cross-sdk_4.2.3.bb
index 39e6a0d3b0..bea9839246 100644
--- a/recipes/gcc/gcc-cross-sdk_4.2.3.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.2.3.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
inherit sdk
@@ -7,5 +7,8 @@ require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.2.4.bb b/recipes/gcc/gcc-cross-sdk_4.2.4.bb
index d79331cf78..9c67c7e119 100644
--- a/recipes/gcc/gcc-cross-sdk_4.2.4.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.2.4.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.2"
inherit sdk
@@ -7,5 +7,8 @@ require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += "--disable-libunwind-exceptions --enable-libssp \
- --enable-libgomp --disable-libmudflap"
+ --enable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.3.1.bb b/recipes/gcc/gcc-cross-sdk_4.3.1.bb
index 39e6a0d3b0..bea9839246 100644
--- a/recipes/gcc/gcc-cross-sdk_4.3.1.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.3.1.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
inherit sdk
@@ -7,5 +7,8 @@ require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.3.2.bb b/recipes/gcc/gcc-cross-sdk_4.3.2.bb
index 39e6a0d3b0..bea9839246 100644
--- a/recipes/gcc/gcc-cross-sdk_4.3.2.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.3.2.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
inherit sdk
@@ -7,5 +7,8 @@ require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.3.3.bb b/recipes/gcc/gcc-cross-sdk_4.3.3.bb
index 87981d1ea9..ed39d3176d 100644
--- a/recipes/gcc/gcc-cross-sdk_4.3.3.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.3.3.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.2"
inherit sdk
@@ -7,5 +7,8 @@ require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.3.4.bb b/recipes/gcc/gcc-cross-sdk_4.3.4.bb
index aa8a09cbfe..88e26c509b 100644
--- a/recipes/gcc/gcc-cross-sdk_4.3.4.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.3.4.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.0"
inherit sdk
@@ -7,5 +7,8 @@ require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.4.1.bb b/recipes/gcc/gcc-cross-sdk_4.4.1.bb
index 7789d002e5..e1b510e58f 100644
--- a/recipes/gcc/gcc-cross-sdk_4.4.1.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.4.1.bb
@@ -4,7 +4,10 @@ require gcc-${PV}.inc
require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
+
+DEPENDS += "gmp-native mpfr-native"
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.4.2.bb b/recipes/gcc/gcc-cross-sdk_4.4.2.bb
index 7789d002e5..e1b510e58f 100644
--- a/recipes/gcc/gcc-cross-sdk_4.4.2.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.4.2.bb
@@ -4,7 +4,10 @@ require gcc-${PV}.inc
require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
+
+DEPENDS += "gmp-native mpfr-native"
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_4.4.3.bb b/recipes/gcc/gcc-cross-sdk_4.4.3.bb
index 7789d002e5..e1b510e58f 100644
--- a/recipes/gcc/gcc-cross-sdk_4.4.3.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.4.3.bb
@@ -4,7 +4,10 @@ require gcc-${PV}.inc
require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
+
+DEPENDS += "gmp-native mpfr-native"
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross-sdk_csl-arm-2007q3.bb b/recipes/gcc/gcc-cross-sdk_csl-arm-2007q3.bb
index a15accaf81..2e4fcf25a6 100644
--- a/recipes/gcc/gcc-cross-sdk_csl-arm-2007q3.bb
+++ b/recipes/gcc/gcc-cross-sdk_csl-arm-2007q3.bb
@@ -1,4 +1,4 @@
-PR = "r4"
+PR = "r3"
inherit sdk
@@ -13,6 +13,7 @@ EXTRA_OECONF += " \
--disable-libgomp \
--disable-libunwind-exceptions \
--disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
"
#We don't want i686 linux ending up in the CFLAGS_FOR_TARGET like this: -isystem/OE/angstrom-tmp/staging/i686-linux/usr/include
diff --git a/recipes/gcc/gcc-cross-sdk_svn.bb b/recipes/gcc/gcc-cross-sdk_svn.bb
index 0ae3dcb6fd..48d8a0d1ed 100644
--- a/recipes/gcc/gcc-cross-sdk_svn.bb
+++ b/recipes/gcc/gcc-cross-sdk_svn.bb
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r1"
inherit sdk
@@ -7,7 +7,8 @@ require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
-DEPENDS += "libmpc-native"
+DEPENDS += "libmpc-native gmp-native mpfr-native"
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
- --disable-libgomp --disable-libmudflap"
+ --disable-libgomp --disable-libmudflap \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross4.inc b/recipes/gcc/gcc-cross4.inc
index 51d0529342..77a55968fa 100644
--- a/recipes/gcc/gcc-cross4.inc
+++ b/recipes/gcc/gcc-cross4.inc
@@ -1,3 +1,5 @@
require gcc-cross.inc
+DEPENDS += "gmp-native mpfr-native"
+
EXTRA_OECONF_append_sh4 = " --with-multilib-list=m4,m4-nofpu "
diff --git a/recipes/gcc/gcc-cross_4.1.0.bb b/recipes/gcc/gcc-cross_4.1.0.bb
index 017a9e961b..def05869d8 100644
--- a/recipes/gcc/gcc-cross_4.1.0.bb
+++ b/recipes/gcc/gcc-cross_4.1.0.bb
@@ -1,8 +1,8 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross4.inc
require gcc-configure-cross.inc
require gcc-package-cross.inc
-EXTRA_OECONF += "--disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross_4.1.1.bb b/recipes/gcc/gcc-cross_4.1.1.bb
index 9e0d316518..e96867e682 100644
--- a/recipes/gcc/gcc-cross_4.1.1.bb
+++ b/recipes/gcc/gcc-cross_4.1.1.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross4.inc
@@ -7,4 +7,4 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += "--disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
diff --git a/recipes/gcc/gcc-cross_4.1.2.bb b/recipes/gcc/gcc-cross_4.1.2.bb
index 5834f833df..2367d196c9 100644
--- a/recipes/gcc/gcc-cross_4.1.2.bb
+++ b/recipes/gcc/gcc-cross_4.1.2.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross4.inc
@@ -9,6 +9,6 @@ SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
EXTRA_OECONF_append_avr32= " --disable-libmudflap "
-EXTRA_OECONF += "--disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.2.1.bb b/recipes/gcc/gcc-cross_4.2.1.bb
index 8b50dfd8d4..8c7f4c50ed 100644
--- a/recipes/gcc/gcc-cross_4.2.1.bb
+++ b/recipes/gcc/gcc-cross_4.2.1.bb
@@ -1,4 +1,4 @@
-PR = "r22"
+PR = "r21"
require gcc-${PV}.inc
require gcc-cross4.inc
@@ -7,6 +7,6 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += "--disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.2.2.bb b/recipes/gcc/gcc-cross_4.2.2.bb
index ac1d6c7c87..cf1bf6837f 100644
--- a/recipes/gcc/gcc-cross_4.2.2.bb
+++ b/recipes/gcc/gcc-cross_4.2.2.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross4.inc
@@ -7,6 +7,6 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += "--disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.2.3.bb b/recipes/gcc/gcc-cross_4.2.3.bb
index ac1d6c7c87..cf1bf6837f 100644
--- a/recipes/gcc/gcc-cross_4.2.3.bb
+++ b/recipes/gcc/gcc-cross_4.2.3.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross4.inc
@@ -7,6 +7,6 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += "--disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.2.4.bb b/recipes/gcc/gcc-cross_4.2.4.bb
index ac1d6c7c87..cf1bf6837f 100644
--- a/recipes/gcc/gcc-cross_4.2.4.bb
+++ b/recipes/gcc/gcc-cross_4.2.4.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross4.inc
@@ -7,6 +7,6 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += "--disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.3.1.bb b/recipes/gcc/gcc-cross_4.3.1.bb
index 6007b40c98..acd552101a 100644
--- a/recipes/gcc/gcc-cross_4.3.1.bb
+++ b/recipes/gcc/gcc-cross_4.3.1.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross4.inc
@@ -7,6 +7,6 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += " --enable-cheaders=c_std --disable-libunwind-exceptions"
+EXTRA_OECONF += " --enable-cheaders=c_std --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.3.2.bb b/recipes/gcc/gcc-cross_4.3.2.bb
index e85348c6e6..94b98b9e63 100644
--- a/recipes/gcc/gcc-cross_4.3.2.bb
+++ b/recipes/gcc/gcc-cross_4.3.2.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross4.inc
require gcc-configure-cross.inc
@@ -6,6 +6,6 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += " --enable-cheaders=c_std --disable-libunwind-exceptions"
+EXTRA_OECONF += " --enable-cheaders=c_std --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.3.3.bb b/recipes/gcc/gcc-cross_4.3.3.bb
index e85348c6e6..94b98b9e63 100644
--- a/recipes/gcc/gcc-cross_4.3.3.bb
+++ b/recipes/gcc/gcc-cross_4.3.3.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
require gcc-${PV}.inc
require gcc-cross4.inc
require gcc-configure-cross.inc
@@ -6,6 +6,6 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += " --enable-cheaders=c_std --disable-libunwind-exceptions"
+EXTRA_OECONF += " --enable-cheaders=c_std --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.3.4.bb b/recipes/gcc/gcc-cross_4.3.4.bb
index e85348c6e6..71cb5e63f6 100644
--- a/recipes/gcc/gcc-cross_4.3.4.bb
+++ b/recipes/gcc/gcc-cross_4.3.4.bb
@@ -1,4 +1,4 @@
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.0"
require gcc-${PV}.inc
require gcc-cross4.inc
require gcc-configure-cross.inc
@@ -6,6 +6,6 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += " --enable-cheaders=c_std --disable-libunwind-exceptions"
+EXTRA_OECONF += " --enable-cheaders=c_std --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.4.1.bb b/recipes/gcc/gcc-cross_4.4.1.bb
index 15cbb7c194..11eb29d419 100644
--- a/recipes/gcc/gcc-cross_4.4.1.bb
+++ b/recipes/gcc/gcc-cross_4.4.1.bb
@@ -2,10 +2,10 @@ require gcc-${PV}.inc
require gcc-cross4.inc
require gcc-configure-cross.inc
require gcc-package-cross.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += " --disable-libunwind-exceptions"
+EXTRA_OECONF += " --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.4.2.bb b/recipes/gcc/gcc-cross_4.4.2.bb
index 15cbb7c194..11eb29d419 100644
--- a/recipes/gcc/gcc-cross_4.4.2.bb
+++ b/recipes/gcc/gcc-cross_4.4.2.bb
@@ -2,10 +2,10 @@ require gcc-${PV}.inc
require gcc-cross4.inc
require gcc-configure-cross.inc
require gcc-package-cross.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += " --disable-libunwind-exceptions"
+EXTRA_OECONF += " --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_4.4.3.bb b/recipes/gcc/gcc-cross_4.4.3.bb
index 15cbb7c194..11eb29d419 100644
--- a/recipes/gcc/gcc-cross_4.4.3.bb
+++ b/recipes/gcc/gcc-cross_4.4.3.bb
@@ -2,10 +2,10 @@ require gcc-${PV}.inc
require gcc-cross4.inc
require gcc-configure-cross.inc
require gcc-package-cross.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.1"
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += " --disable-libunwind-exceptions"
+EXTRA_OECONF += " --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-cross_csl-arm-2007q3.bb b/recipes/gcc/gcc-cross_csl-arm-2007q3.bb
index 5d796bf42b..34bd251a12 100644
--- a/recipes/gcc/gcc-cross_csl-arm-2007q3.bb
+++ b/recipes/gcc/gcc-cross_csl-arm-2007q3.bb
@@ -1,4 +1,4 @@
-PR = "r6"
+PR = "r5"
require gcc-csl-arm-2007q3.inc
require gcc-cross4.inc
@@ -7,7 +7,7 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += "--disable-multilib --disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-multilib --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
#We don't want i686 linux ending up in the CFLAGS_FOR_TARGET like this: -isystem/OE/angstrom-tmp/staging/i686-linux/usr/include
CFLAGS = ""
diff --git a/recipes/gcc/gcc-cross_csl-arm-2008q1.bb b/recipes/gcc/gcc-cross_csl-arm-2008q1.bb
index 55e1fd3660..d534574c2e 100644
--- a/recipes/gcc/gcc-cross_csl-arm-2008q1.bb
+++ b/recipes/gcc/gcc-cross_csl-arm-2008q1.bb
@@ -1,4 +1,4 @@
-PR = "r6"
+PR = "r5"
require gcc-csl-arm-2008q1.inc
require gcc-cross4.inc
@@ -7,7 +7,7 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += "--disable-multilib --disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-multilib --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
#We don't want i686 linux ending up in the CFLAGS_FOR_TARGET like this: -isystem/OE/angstrom-tmp/staging/i686-linux/usr/include
CFLAGS = ""
diff --git a/recipes/gcc/gcc-cross_csl-arm-2008q3.bb b/recipes/gcc/gcc-cross_csl-arm-2008q3.bb
index e6065cce78..ef4ef304ef 100644
--- a/recipes/gcc/gcc-cross_csl-arm-2008q3.bb
+++ b/recipes/gcc/gcc-cross_csl-arm-2008q3.bb
@@ -1,4 +1,4 @@
-PR = "r2"
+PR = "r1"
require gcc-csl-arm-2008q3.inc
require gcc-cross4.inc
@@ -7,7 +7,7 @@ require gcc-package-cross.inc
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += "--disable-multilib --disable-libunwind-exceptions"
+EXTRA_OECONF += "--disable-multilib --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}"
#We don't want i686 linux ending up in the CFLAGS_FOR_TARGET like this: -isystem/OE/angstrom-tmp/staging/i686-linux/usr/include
CFLAGS = ""
diff --git a/recipes/gcc/gcc-cross_svn.bb b/recipes/gcc/gcc-cross_svn.bb
index 99977abb82..2d3c1368dc 100644
--- a/recipes/gcc/gcc-cross_svn.bb
+++ b/recipes/gcc/gcc-cross_svn.bb
@@ -1,4 +1,4 @@
-PR = "r1"
+PR = "r0"
require gcc-${PV}.inc
require gcc-cross4.inc
require gcc-configure-cross.inc
@@ -8,6 +8,6 @@ DEPENDS += "libmpc-native"
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
-EXTRA_OECONF += " --disable-libunwind-exceptions --with-system-zlib"
+EXTRA_OECONF += " --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} --with-system-zlib"
ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/recipes/gcc/gcc-csl-arm-2005q3.inc b/recipes/gcc/gcc-csl-arm-2005q3.inc
index d81c3a7857..55bbe4b13a 100644
--- a/recipes/gcc/gcc-csl-arm-2005q3.inc
+++ b/recipes/gcc/gcc-csl-arm-2005q3.inc
@@ -1,13 +1,12 @@
require gcc-common.inc
BINV = "3.4.4"
-CSV = "2005q3-2"
-PV = "3.4.4+csl-arm-${CSV}"
+PV = "3.4.4+csl-arm-2005q3"
PV_chinook-compat = "3.4.4cs2005q3.2"
FILESDIR = "${FILE_DIRNAME}/gcc-csl-arm"
-SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-${CSV}-arm-none-eabi.src.tar.bz2 \
+SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2005q3-2-arm-none-eabi.src.tar.bz2 \
file://gcc_optab_arm.patch;patch=1 \
file://gcc-3.4.4-eabi-bigendian.patch;patch=1 \
file://libstdc++_configure.patch;patch=1 \
@@ -18,9 +17,9 @@ S = "${WORKDIR}/gcc-2005q3"
do_unpack2() {
cd ${WORKDIR}
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gcc-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/mpfr-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gmp-${CSV}.tar.bz2
- mv mpfr-mirror ${S}/mpfr
- mv gmp-mirror ${S}/gmp
+ tar -xvjf ./arm-2005q3-2-arm-none-eabi/gcc-2005q3-2.tar.bz2
}
+
+addtask unpack2 after do_unpack before do_patch
+
+
diff --git a/recipes/gcc/gcc-csl-arm-2006q1.inc b/recipes/gcc/gcc-csl-arm-2006q1.inc
index 30f1d6f9ba..a208170b47 100644
--- a/recipes/gcc/gcc-csl-arm-2006q1.inc
+++ b/recipes/gcc/gcc-csl-arm-2006q1.inc
@@ -1,12 +1,11 @@
require gcc-common.inc
BINV = "4.1.0"
-CSV = "2006q1-6"
-PV = "4.1.0+csl-arm-${CSV}"
+PV = "4.1.0+csl-arm-2006q1-6"
FILESDIR = "${FILE_DIRNAME}/gcc-csl-arm"
-SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-${CSV}-arm-none-eabi.src.tar.bz2 \
+SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2006q1-6-arm-none-eabi.src.tar.bz2 \
file://gcc-configure-no-fortran.patch;patch=1;pnum=1 \
file://gcc-new-makeinfo.patch;patch=1"
@@ -14,9 +13,7 @@ S = "${WORKDIR}/gcc-2006q1"
do_unpack2() {
cd ${WORKDIR}
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gcc-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/mpfr-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gmp-${CSV}.tar.bz2
- mv mpfr-mirror ${S}/mpfr
- mv gmp-mirror ${S}/gmp
+ tar -xvjf ./arm-2006q1-6-arm-none-eabi/gcc-2006q1-6.tar.bz2
}
+
+addtask unpack2 after do_unpack before do_patch
diff --git a/recipes/gcc/gcc-csl-arm-2007q3.inc b/recipes/gcc/gcc-csl-arm-2007q3.inc
index a4f9dc2352..a3da6c9ca3 100644
--- a/recipes/gcc/gcc-csl-arm-2007q3.inc
+++ b/recipes/gcc/gcc-csl-arm-2007q3.inc
@@ -1,12 +1,11 @@
require gcc-common.inc
BINV = "4.2.1"
-CSV = "2007q3-53"
-PV = "4.2.1+csl-arm-${CSV}"
+PV = "4.2.1+csl-arm-2007q3-53"
FILESPATH = "${FILE_DIRNAME}/gcc-csl-arm-2007q3:${FILE_DIRNAME}/gcc-csl-arm"
-SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-${CSV}-arm-none-eabi.src.tar.bz2 \
+SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2007q3-53-arm-none-eabi.src.tar.bz2 \
file://gcc-new-makeinfo.patch;patch=1 \
# file://100-uclibc-conf.patch;patch=1 \
# file://103-uclibc-conf-noupstream.patch;patch=1 \
@@ -39,11 +38,7 @@ S = "${WORKDIR}/gcc-4.2"
do_unpack2() {
cd ${WORKDIR}
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gcc-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/mpfr-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gmp-${CSV}.tar.bz2
- mv mpfr-mirror ${S}/mpfr
- mv gmp-mirror ${S}/gmp
+ tar -xvjf ./arm-2007q3-53-arm-none-eabi/gcc-2007q3-53.tar.bz2
}
# Language Overrides
@@ -53,3 +48,5 @@ FORTRAN = ""
EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap"
ARM_INSTRUCTION_SET = "arm"
+
+addtask unpack2 after do_unpack before do_patch
diff --git a/recipes/gcc/gcc-csl-arm-2008q1.inc b/recipes/gcc/gcc-csl-arm-2008q1.inc
index 38cc5d350d..8c2a1c5003 100644
--- a/recipes/gcc/gcc-csl-arm-2008q1.inc
+++ b/recipes/gcc/gcc-csl-arm-2008q1.inc
@@ -1,12 +1,11 @@
require gcc-common.inc
BINV = "4.2.3"
-CSV = "2008q1-126"
-PV = "4.2.3+csl-arm-${CSV}"
+PV = "4.2.3+csl-arm-2008q1-126"
FILESDIR = "${FILE_DIRNAME}/gcc-csl-arm"
-SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-${CSV}-arm-none-eabi.src.tar.bz2 \
+SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2008q1-126-arm-none-eabi.src.tar.bz2 \
# file://100-uclibc-conf.patch;patch=1 \
# file://103-uclibc-conf-noupstream.patch;patch=1 \
# file://200-uclibc-locale.patch;patch=1 \
@@ -37,11 +36,7 @@ S = "${WORKDIR}/gcc-4.2"
do_unpack2() {
cd ${WORKDIR}
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gcc-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/mpfr-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gmp-${CSV}.tar.bz2
- mv mpfr-mirror ${S}/mpfr
- mv gmp-mirror ${S}/gmp
+ tar -xvjf ./arm-2008q1-126-arm-none-eabi/gcc-2008q1-126.tar.bz2
}
# Language Overrides
@@ -51,3 +46,5 @@ FORTRAN = ""
EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap"
ARM_INSTRUCTION_SET = "arm"
+
+addtask unpack2 after do_unpack before do_patch
diff --git a/recipes/gcc/gcc-csl-arm-2008q3.inc b/recipes/gcc/gcc-csl-arm-2008q3.inc
index 3005d88c9f..13b61b6f0e 100644
--- a/recipes/gcc/gcc-csl-arm-2008q3.inc
+++ b/recipes/gcc/gcc-csl-arm-2008q3.inc
@@ -1,12 +1,11 @@
require gcc-common.inc
BINV = "4.3.2"
-CSV = "2008q3-39"
-PV = "4.3.2+csl-arm-${CSV}"
+PV = "4.3.2+csl-arm-2008q3-39"
FILESDIR = "${FILE_DIRNAME}/gcc-csl-arm-2008q3"
-SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-${CSV}-arm-none-eabi.src.tar.bz2 \
+SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2008q3-39-arm-none-eabi.src.tar.bz2 \
file://gcc-csl-2008q3-hotfix.diff;patch=1 \
file://arm-nolibfloat.patch;patch=1 \
file://arm-softfloat.patch;patch=1 \
@@ -21,11 +20,7 @@ S = "${WORKDIR}/gcc-4.3"
do_unpack2() {
cd ${WORKDIR}
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gcc-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/mpfr-${CSV}.tar.bz2
- tar -xvjf ./arm-${CSV}-arm-none-eabi/gmp-${CSV}.tar.bz2
- mv mpfr-mirror ${S}/mpfr
- mv gmp-mirror ${S}/gmp
+ tar -xvjf ./arm-2008q3-39-arm-none-eabi/gcc-2008q3-39.tar.bz2
}
# Language Overrides
@@ -35,3 +30,5 @@ FORTRAN_linux-gnueabi = ",fortran"
EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap"
ARM_INSTRUCTION_SET = "arm"
+
+addtask unpack2 after do_unpack before do_patch
diff --git a/recipes/gcc/gcc-svn.inc b/recipes/gcc/gcc-svn.inc
index 9af664ef7f..6583378233 100644
--- a/recipes/gcc/gcc-svn.inc
+++ b/recipes/gcc/gcc-svn.inc
@@ -5,7 +5,7 @@ SRCREV = "156268"
require gcc-common.inc
-DEPENDS = "libmpc"
+DEPENDS = "mpfr gmp libmpc"
BINV = "4.5.0"
PV = "4.5+svnr${SRCPV}"
@@ -39,3 +39,4 @@ EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float "
EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "
EXTRA_OECONF_append_linux-uclibc = " ${@base_contains('TARGET_ARCH', 'powerpc', '--without-long-double-128', '',d)}"
+