summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2010-09-27 16:32:18 +0200
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-09-27 16:34:22 +0200
commit4b75473b417c92b5d54ef541b949943cff2d6725 (patch)
treea8a2e75ad9d2cc03b62ba0d9c897fb4f97519566
parent4292b4f8b780dab1137a29d9cc7ebc5fb924ee5d (diff)
gcc: added 2010.09 Linaro release of gcc-4.5org.openembedded.dev
more about release: https://wiki.linaro.org/WorkingGroups/ToolChain This version does not have any OE patches applied (other then zecke-no-host-includes.patch in gcc-cross). There are build problems with this release in OE. But as it is not default version I am pushing it like it is. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
-rw-r--r--recipes/gcc/gcc-4.5-2010.09.inc35
-rw-r--r--recipes/gcc/gcc-cross-initial_4.5-2010.09.bb2
-rw-r--r--recipes/gcc/gcc-cross-intermediate_4.5-2010.09.bb2
-rw-r--r--recipes/gcc/gcc-cross-sdk_4.5-2010.09.bb9
-rw-r--r--recipes/gcc/gcc-cross_4.5-2010.09.bb9
-rw-r--r--recipes/gcc/gcc_4.5-2010.09.bb15
6 files changed, 72 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-4.5-2010.09.inc b/recipes/gcc/gcc-4.5-2010.09.inc
new file mode 100644
index 0000000000..0aa1770cfe
--- /dev/null
+++ b/recipes/gcc/gcc-4.5-2010.09.inc
@@ -0,0 +1,35 @@
+DEFAULT_PREFERENCE = "-999"
+ARM_INSTRUCTION_SET = "arm"
+
+require gcc-common.inc
+LICENSE = "GPLv3"
+
+DEPENDS = "mpfr gmp libmpc libelf"
+NATIVEDEPS = "mpfr-native gmp-native libmpc-native"
+
+FILESDIR = "${FILE_DIRNAME}/gcc-4.5"
+
+INC_PR = "r0"
+
+
+SRC_URI = "http://launchpad.net/gcc-linaro/4.5/4.5-2010.09-1/+download/gcc-linaro-4.5-2010.09-1.tar.bz2;name=gcc45tarbz2 "
+
+S = "${WORKDIR}/gcc-linaro-${PV}-1/"
+SRC_URI[gcc45tarbz2.md5sum] = "1835274698df4088d6077c3104bc42d9"
+SRC_URI[gcc45tarbz2.sha256sum] = "29615318803eaba11cd3f7ee133f5dd4fc9bc0d1a7e0c5b06bd2540ece7d1472"
+
+# Language Overrides
+FORTRAN = ""
+JAVA = ""
+
+EXTRA_OECONF_BASE = " --enable-lto \
+ --enable-libssp \
+ --disable-bootstrap --disable-libgomp \
+ --disable-libmudflap"
+
+EXTRA_OECONF_INITIAL = "--disable-libmudflap --disable-libgomp --disable-libssp --enable-decimal-float=no"
+EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-libssp"
+
+EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
+EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float "
+EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "
diff --git a/recipes/gcc/gcc-cross-initial_4.5-2010.09.bb b/recipes/gcc/gcc-cross-initial_4.5-2010.09.bb
new file mode 100644
index 0000000000..1639511362
--- /dev/null
+++ b/recipes/gcc/gcc-cross-initial_4.5-2010.09.bb
@@ -0,0 +1,2 @@
+require gcc-cross_${PV}.bb
+require gcc-cross-initial.inc
diff --git a/recipes/gcc/gcc-cross-intermediate_4.5-2010.09.bb b/recipes/gcc/gcc-cross-intermediate_4.5-2010.09.bb
new file mode 100644
index 0000000000..eb59de9461
--- /dev/null
+++ b/recipes/gcc/gcc-cross-intermediate_4.5-2010.09.bb
@@ -0,0 +1,2 @@
+require gcc-cross_${PV}.bb
+require gcc-cross-intermediate.inc
diff --git a/recipes/gcc/gcc-cross-sdk_4.5-2010.09.bb b/recipes/gcc/gcc-cross-sdk_4.5-2010.09.bb
new file mode 100644
index 0000000000..e8ef4e2616
--- /dev/null
+++ b/recipes/gcc/gcc-cross-sdk_4.5-2010.09.bb
@@ -0,0 +1,9 @@
+PR = "r4"
+
+inherit sdk
+
+require gcc-${PV}.inc
+require gcc-cross-sdk.inc
+
+EXTRA_OECONF += " --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} --with-system-zlib"
+
diff --git a/recipes/gcc/gcc-cross_4.5-2010.09.bb b/recipes/gcc/gcc-cross_4.5-2010.09.bb
new file mode 100644
index 0000000000..3f23f1169b
--- /dev/null
+++ b/recipes/gcc/gcc-cross_4.5-2010.09.bb
@@ -0,0 +1,9 @@
+require gcc-${PV}.inc
+require gcc-cross4.inc
+
+NATIVEDEPS += "libmpc-native libelf-native"
+SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch "
+
+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_4.5-2010.09.bb b/recipes/gcc/gcc_4.5-2010.09.bb
new file mode 100644
index 0000000000..ad71ada0f9
--- /dev/null
+++ b/recipes/gcc/gcc_4.5-2010.09.bb
@@ -0,0 +1,15 @@
+PR = "${INC_PR}.1"
+require gcc-${PV}.inc
+require gcc-configure-target.inc
+require gcc-package-target.inc
+
+# Gcc 4.3.3 installs crt* in a '4.3.1' dir....
+FILES_${PN} += "\
+ ${gcclibdir}/${TARGET_SYS}/*/*.o \
+ ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto1 \
+ ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto-wrapper \
+"
+
+SRC_URI_append = "file://fortran-cross-compile-hack.patch"
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"