summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-5.1.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-05-06 00:04:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-09 22:26:44 +0100
commit9ba0bf8b6af6626bd3b6d1558959a83b5c14d501 (patch)
tree246997127b81791bed0a639feea1f5acea13c9fe /meta/recipes-devtools/gcc/gcc-5.1.inc
parenta28371be8bbdf29eb2f9c4fc68ff26d9d24631ac (diff)
downloadpoky-9ba0bf8b6af6626bd3b6d1558959a83b5c14d501.tar.gz
gcc: Add 5 recipes
Drop backports obviously additionally drop local patches around parallel compilation since it got reworked upstream To select set GCCVERSION = "5.1%" SDKGCCVERSION = "5.1%" in local.conf Change-Id: Icdfa61017a617244128f361b022e7c8f1f9e0610 (From OE-Core rev: 4bc4acc67e5d7b3f27afadeda5710f9ba5f627d2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.1.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-5.1.inc123
1 files changed, 123 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.1.inc b/meta/recipes-devtools/gcc/gcc-5.1.inc
new file mode 100644
index 0000000000..d38a7d9d91
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-5.1.inc
@@ -0,0 +1,123 @@
1require gcc-common.inc
2
3# Third digit in PV should be incremented after a minor release
4
5PV = "5.1.0"
6
7#SNAP = "5-20150405"
8
9# BINV should be incremented to a revision after a minor gcc release
10
11BINV = "5.1.0"
12
13FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-5.1:"
14
15DEPENDS =+ "mpfr gmp libmpc zlib"
16NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
17
18LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
19
20LIC_FILES_CHKSUM = "\
21 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
22 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
23 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
24 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
25 file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8 \
26"
27#BASEURI = "http://www.netgull.com/gcc/snapshots/${SNAP}/gcc-${SNAP}.tar.bz2"
28BASEURI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2"
29
30SRC_URI[md5sum] = "d5525b1127d07d215960e6051c5da35e"
31SRC_URI[sha256sum] = "b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad"
32
33SRC_URI = "\
34 ${BASEURI} \
35 file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
36 file://0002-uclibc-conf.patch \
37 file://0003-gcc-uclibc-locale-ctype_touplow_t.patch \
38 file://0004-uclibc-locale.patch \
39 file://0005-uclibc-locale-no__x.patch \
40 file://0006-uclibc-locale-wchar_fix.patch \
41 file://0007-uclibc-locale-update.patch \
42 file://0008-missing-execinfo_h.patch \
43 file://0009-c99-snprintf.patch \
44 file://0010-gcc-poison-system-directories.patch \
45 file://0011-gcc-poison-dir-extend.patch \
46 file://0012-gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \
47 file://0013-64-bit-multilib-hack.patch \
48 file://0014-optional-libstdc.patch \
49 file://0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch \
50 file://0016-COLLECT_GCC_OPTIONS.patch \
51 file://0017-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \
52 file://0018-fortran-cross-compile-hack.patch \
53 file://0019-libgcc-sjlj-check.patch \
54 file://0020-cpp-honor-sysroot.patch \
55 file://0021-MIPS64-Default-to-N64-ABI.patch \
56 file://0022-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \
57 file://0023-gcc-Fix-argument-list-too-long-error.patch \
58 file://0024-Disable-sdt.patch \
59 file://0025-libtool.patch \
60 file://0026-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \
61 file://0027-Use-the-multilib-config-files-from-B-instead-of-usin.patch \
62 file://0028-Avoid-using-libdir-from-.la-which-usually-points-to-.patch \
63 file://0029-export-CPP.patch \
64 file://0030-Enable-SPE-AltiVec-generation-on-powepc-linux-target.patch \
65 file://0031-Disable-the-MULTILIB_OSDIRNAMES-and-other-multilib-o.patch \
66 file://0032-Ensure-target-gcc-headers-can-be-included.patch \
67 file://0033-gcc-4.8-won-t-build-with-disable-dependency-tracking.patch \
68 file://0034-Don-t-search-host-directory-during-relink-if-inst_pr.patch \
69 file://0035-Dont-link-the-plugins-with-libgomp-explicitly.patch \
70 "
71
72#S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${SNAP}"
73S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}"
74B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
75
76# Language Overrides
77FORTRAN = ""
78JAVA = ""
79
80LTO = "--enable-lto"
81
82EXTRA_OECONF_BASE = "\
83 ${LTO} \
84 --enable-libssp \
85 --disable-bootstrap \
86 --disable-libmudflap \
87 --with-system-zlib \
88 --with-linker-hash-style=${LINKER_HASH_STYLE} \
89 --enable-linker-build-id \
90 --with-ppl=no \
91 --with-cloog=no \
92 --enable-checking=release \
93 --enable-cheaders=c_global \
94"
95
96EXTRA_OECONF_INITIAL = "\
97 --disable-libmudflap \
98 --disable-libgomp \
99 --disable-libssp \
100 --disable-libquadmath \
101 --with-system-zlib \
102 --disable-lto \
103 --disable-plugin \
104 --enable-decimal-float=no \
105"
106
107EXTRA_OECONF_INTERMEDIATE = "\
108 --disable-libmudflap \
109 --disable-libgomp \
110 --disable-libquadmath \
111 --with-system-zlib \
112 --disable-lto \
113 --disable-plugin \
114 --disable-libssp \
115"
116
117EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float "
118
119EXTRA_OECONF_PATHS = "\
120 --with-gxx-include-dir=/not/exist{target_includedir}/c++/${BINV} \
121 --with-sysroot=/not/exist \
122 --with-build-sysroot=${STAGING_DIR_TARGET} \
123"