diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-06-17 17:11:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 11:50:07 +0100 |
commit | 0faa5f72999fea82fadda8bab70abea2303216c7 (patch) | |
tree | 05a8c18d2f67d883f94d2bd6f060ab0f4ac7f156 /meta/recipes-devtools/gcc/gcc-4.6.inc | |
parent | c2007ba4cdb64fa9e308d3dae395c03ef4cc9161 (diff) | |
download | poky-0faa5f72999fea82fadda8bab70abea2303216c7.tar.gz |
gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6
Remove the backport patches
(From OE-Core rev: 68b545f4ff719f2b6e57d68b002dc9845c7a14ae)
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.6.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.inc | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc new file mode 100644 index 0000000000..4c33636575 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc | |||
@@ -0,0 +1,104 @@ | |||
1 | require gcc-common.inc | ||
2 | |||
3 | PR = "r4" | ||
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.6.0 | ||
7 | # when 4.6.1 is releases and we bump SRCREV beyond the release | ||
8 | # on branch then PV should be incremented to 4.6.1+svnr${SRCPV} | ||
9 | # to reflect that change | ||
10 | |||
11 | PV = "4.6.0+svnr${SRCPV}" | ||
12 | |||
13 | # BINV should be incremented after updating to a revision | ||
14 | # after a minor gcc release (e.g. 4.6.1 or 4.6.2) has been made | ||
15 | # the value will be minor-release+1 e.g. if current minor release was | ||
16 | # 4.6.1 then the value below will have 2 which will mean 4.6.2 | ||
17 | # which will be next minor release and so on. | ||
18 | |||
19 | BINV = "4.6.1" | ||
20 | |||
21 | SRCREV = 175150 | ||
22 | BRANCH = "gcc-4_6-branch" | ||
23 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}" | ||
24 | |||
25 | DEPENDS =+ "mpfr gmp libmpc" | ||
26 | NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native" | ||
27 | |||
28 | LICENSE="GCC RUNTIME LIBRARY 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://cache-amnesia.patch \ | ||
41 | file://gcc-flags-for-build.patch \ | ||
42 | file://103-uclibc-conf-noupstream.patch \ | ||
43 | file://200-uclibc-locale.patch \ | ||
44 | file://203-uclibc-locale-no__x.patch;striplevel=1 \ | ||
45 | file://204-uclibc-locale-wchar_fix.patch;striplevel=1 \ | ||
46 | file://205-uclibc-locale-update.patch;striplevel=1 \ | ||
47 | file://301-missing-execinfo_h.patch \ | ||
48 | file://302-c99-snprintf.patch \ | ||
49 | file://303-c99-complex-ugly-hack.patch \ | ||
50 | file://304-index_macro.patch \ | ||
51 | file://305-libmudflap-susv3-legacy.patch \ | ||
52 | file://306-libstdc++-namespace.patch \ | ||
53 | file://740-sh-pr24836.patch \ | ||
54 | file://800-arm-bigendian.patch \ | ||
55 | file://904-flatten-switch-stmt-00.patch \ | ||
56 | file://arm-nolibfloat.patch \ | ||
57 | file://arm-softfloat.patch \ | ||
58 | file://zecke-xgcc-cpp.patch \ | ||
59 | file://gcc-poison-system-directories.patch \ | ||
60 | file://gcc-poison-dir-extend.patch \ | ||
61 | file://gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \ | ||
62 | file://64bithack.patch \ | ||
63 | file://optional_libstdc.patch \ | ||
64 | file://disable_relax_pic_calls_flag.patch \ | ||
65 | file://gcc-poison-parameters.patch \ | ||
66 | file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \ | ||
67 | file://COLLECT_GCC_OPTIONS.patch \ | ||
68 | file://volatile_access_backport.patch \ | ||
69 | " | ||
70 | |||
71 | SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " | ||
72 | |||
73 | S = "${WORKDIR}/${BRANCH}" | ||
74 | |||
75 | # Language Overrides | ||
76 | FORTRAN = "" | ||
77 | JAVA = "" | ||
78 | |||
79 | #EXTRA_OECONF_BASE = " --enable-cheaders=c_std \ | ||
80 | # --enable-libssp \ | ||
81 | # --disable-bootstrap \ | ||
82 | # --disable-libgomp \ | ||
83 | # --disable-libmudflap" | ||
84 | EXTRA_OECONF_BASE = " --enable-lto \ | ||
85 | --enable-libssp \ | ||
86 | --disable-bootstrap \ | ||
87 | --disable-libgomp \ | ||
88 | --disable-libmudflap \ | ||
89 | --enable-cheaders=c_global " | ||
90 | |||
91 | EXTRA_OECONF_INITIAL = "--disable-libmudflap \ | ||
92 | --disable-libgomp \ | ||
93 | --disable-libssp \ | ||
94 | --disable-libquadmath \ | ||
95 | --enable-decimal-float=no" | ||
96 | |||
97 | EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \ | ||
98 | --disable-libgomp \ | ||
99 | --disable-libquadmath \ | ||
100 | --disable-libssp" | ||
101 | |||
102 | EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float " | ||
103 | EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float " | ||
104 | EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float " | ||