summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.4.2.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-10-22 16:46:31 -0700
committerKhem Raj <raj.khem@gmail.com>2009-10-22 16:49:13 -0700
commit077f07332ce734c13cf53a59b69c4664e50458ba (patch)
treef49a6b06faca058a02045185019178ce573e28bc /recipes/gcc/gcc-4.4.2.inc
parentba8ce6a3fdb2e5af2d73857cadab99895d734240 (diff)
gcc-4.4.2: Add new recipes for gcc 4.2.2
* Switch default gcc to 4.4.2 for sane toolchain * Switch binutils to 2.20 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/gcc/gcc-4.4.2.inc')
-rw-r--r--recipes/gcc/gcc-4.4.2.inc36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-4.4.2.inc b/recipes/gcc/gcc-4.4.2.inc
new file mode 100644
index 0000000000..514cc9f0c6
--- /dev/null
+++ b/recipes/gcc/gcc-4.4.2.inc
@@ -0,0 +1,36 @@
+# No armeb and thumb patches - really needs checking
+DEFAULT_PREFERENCE = "-999"
+ARM_INSTRUCTION_SET = "arm"
+
+require gcc-common.inc
+LICENSE = "GPLv3"
+
+DEPENDS = "mpfr gmp"
+
+INC_PR = "r0"
+
+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 \
+ file://gcc-link-libgcc-with-libm.patch;patch=1 \
+ file://gcc-improve-tls-macro.patch;patch=1 \
+ file://cache-amnesia.patch;patch=1 \
+ file://gcc-flags-for-build.patch;patch=1 \
+ file://gcc-ppc_single_precision_regs.patch;patch=1 \
+ file://gcc-ppc_add_d_constraint.patch;patch=1 \
+ file://gcc-pr41175.patch;patch=1 \
+ file://gcc-armv4-pass-fix-v4bx-to-ld.patch;patch=1 \
+ "
+# Language Overrides
+FORTRAN = ""
+JAVA = ""
+
+EXTRA_OECONF_BASE = " --enable-libssp \
+ --disable-bootstrap --disable-libgomp \
+ --disable-libmudflap"
+
+EXTRA_OECONF_append_linux-uclibc = " ${@base_contains('TARGET_ARCH', 'powerpc', '--disable-decimal-float --without-long-double-128', '',d)}"