summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.7.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-02-23 19:14:58 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-30 11:37:24 +0100
commitaafa59064b9409e3ce06bf334ca250fc2c483acb (patch)
tree1bd0f82a6812d154785f849c511771852ab1bf3a /meta/recipes-devtools/gcc/gcc-4.7.inc
parent173f424808b935f5db99905bf5af307990d87107 (diff)
downloadpoky-aafa59064b9409e3ce06bf334ca250fc2c483acb.tar.gz
gcc-4.7: Add recipes
Add new recipes for gcc-4_7-branch right now gcc 4.7.0 is latest release from this branch (From OE-Core rev: 3f8fee75e598ad0994acc5da0a612e6eca4f35f6) 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-4.7.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.7.inc102
1 files changed, 102 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
new file mode 100644
index 0000000000..e61de0111f
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
@@ -0,0 +1,102 @@
1require gcc-common.inc
2
3PR = "r0"
4
5# Third digit in PV should be incremented after a minor release
6# happens from this branch on gcc e.g. currently its 4.7.0
7# when 4.7.1 is releases and we bump SRCREV beyond the release
8# on branch then PV should be incremented to 4.7.1+svnr${SRCPV}
9# to reflect that change
10
11PV = "4.7.0+svnr${SRCPV}"
12
13# BINV should be incremented after updating to a revision
14# after a minor gcc release (e.g. 4.7.1 or 4.7.2) has been made
15# the value will be minor-release+1 e.g. if current minor release was
16# 4.7.1 then the value below will have 2 which will mean 4.7.2
17# which will be next minor release and so on.
18
19BINV = "4.7.1"
20
21SRCREV = "186651"
22BRANCH = "gcc-4_7-branch"
23FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"
24
25DEPENDS =+ "mpfr gmp libmpc"
26NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
27
28LICENSE="GPL-3.0-with-GCC-exception & GPLv3"
29
30LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
31 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
32 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
33 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
34 file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8"
35
36SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \
37 file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
38 file://100-uclibc-conf.patch \
39 file://gcc-uclibc-locale-ctype_touplow_t.patch \
40 file://200-uclibc-locale.patch \
41 file://203-uclibc-locale-no__x.patch; \
42 file://204-uclibc-locale-wchar_fix.patch; \
43 file://205-uclibc-locale-update.patch; \
44 file://301-missing-execinfo_h.patch \
45 file://302-c99-snprintf.patch \
46 file://303-c99-complex-ugly-hack.patch \
47 file://304-index_macro.patch \
48 file://305-libmudflap-susv3-legacy.patch \
49 file://306-libstdc++-namespace.patch \
50 file://740-sh-pr24836.patch \
51 file://800-arm-bigendian.patch \
52 file://904-flatten-switch-stmt-00.patch \
53 file://arm-nolibfloat.patch \
54 file://gcc-poison-system-directories.patch \
55 file://gcc-poison-dir-extend.patch \
56 file://gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \
57 file://64bithack.patch \
58 file://optional_libstdc.patch \
59 file://disable_relax_pic_calls_flag.patch \
60 file://COLLECT_GCC_OPTIONS.patch \
61 file://use-defaults.h-and-t-oe-in-B.patch \
62 file://powerpc-e5500.patch \
63 file://pr32219.patch \
64 file://fortran-cross-compile-hack.patch \
65 file://libgcc-sjlj-check.patch \
66 "
67
68S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}"
69B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}"
70
71# Language Overrides
72FORTRAN = ""
73JAVA = ""
74
75EXTRA_OECONF_BASE = " --enable-lto \
76 --enable-libssp \
77 --disable-bootstrap \
78 --disable-libgomp \
79 --disable-libmudflap \
80 --with-system-zlib \
81 --with-linker-hash-style=${LINKER_HASH_STYLE} \
82 --enable-cheaders=c_global "
83
84EXTRA_OECONF_INITIAL = "--disable-libmudflap \
85 --disable-libgomp \
86 --disable-libssp \
87 --disable-libquadmath \
88 --with-system-zlib \
89 --disable-lto \
90 --disable-plugin \
91 --enable-decimal-float=no"
92
93EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \
94 --disable-libgomp \
95 --disable-libquadmath \
96 --with-system-zlib \
97 --disable-lto \
98 --disable-plugin \
99 --disable-libssp"
100
101EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float "
102