summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc_4.4.2.bb
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.bb
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.bb')
-rw-r--r--recipes/gcc/gcc_4.4.2.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/gcc/gcc_4.4.2.bb b/recipes/gcc/gcc_4.4.2.bb
new file mode 100644
index 0000000000..8b29e4a420
--- /dev/null
+++ b/recipes/gcc/gcc_4.4.2.bb
@@ -0,0 +1,13 @@
+require gcc-${PV}.inc
+require gcc-configure-target.inc
+require gcc-package-target.inc
+PR = "${INC_PR}.1"
+
+# GCC 4.4.x installs crt* in a '4.4.x' dir....
+FILES_${PN} += "\
+ ${gcclibdir}/${TARGET_SYS}/*/*.o \
+"
+
+SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1"
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"