diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.7.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7.inc | 102 |
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 @@ | |||
1 | require gcc-common.inc | ||
2 | |||
3 | PR = "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 | |||
11 | PV = "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 | |||
19 | BINV = "4.7.1" | ||
20 | |||
21 | SRCREV = "186651" | ||
22 | BRANCH = "gcc-4_7-branch" | ||
23 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}" | ||
24 | |||
25 | DEPENDS =+ "mpfr gmp libmpc" | ||
26 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" | ||
27 | |||
28 | LICENSE="GPL-3.0-with-GCC-exception & GPLv3" | ||
29 | |||
30 | LIC_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 | |||
36 | SRC_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 | |||
68 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}" | ||
69 | B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}" | ||
70 | |||
71 | # Language Overrides | ||
72 | FORTRAN = "" | ||
73 | JAVA = "" | ||
74 | |||
75 | EXTRA_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 | |||
84 | EXTRA_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 | |||
93 | EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \ | ||
94 | --disable-libgomp \ | ||
95 | --disable-libquadmath \ | ||
96 | --with-system-zlib \ | ||
97 | --disable-lto \ | ||
98 | --disable-plugin \ | ||
99 | --disable-libssp" | ||
100 | |||
101 | EXTRA_OECONF_append_libc-uclibc = " --disable-decimal-float " | ||
102 | |||