merge of '178eac00dc5aa8338d42e8e203633bec7817bbf6'
[vuplus_openembedded] / packages / gcc / gcc-4.2.1.inc
1 require gcc-common.inc
2
3 DEPENDS = "mpfr gmp"
4
5 SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
6         file://100-uclibc-conf.patch;patch=1 \
7         file://103-uclibc-conf-noupstream.patch;patch=1 \
8         file://200-uclibc-locale.patch;patch=1 \
9         file://203-uclibc-locale-no__x.patch;patch=1 \
10         file://204-uclibc-locale-wchar_fix.patch;patch=1 \
11         file://205-uclibc-locale-update.patch;patch=1 \
12         file://300-libstdc++-pic.patch;patch=1 \
13         file://301-missing-execinfo_h.patch;patch=1 \
14         file://302-c99-snprintf.patch;patch=1 \
15         file://303-c99-complex-ugly-hack.patch;patch=1 \
16         file://304-index_macro.patch;patch=1 \
17         file://305-libmudflap-susv3-legacy.patch;patch=1 \
18         file://306-libstdc++-namespace.patch;patch=1 \
19         file://307-locale_facets.patch;patch=1 \
20         file://402-libbackend_dep_gcov-iov.h.patch;patch=1 \
21         file://602-sdk-libstdc++-includes.patch;patch=1 \
22         file://740-sh-pr24836.patch;patch=1 \
23         file://800-arm-bigendian.patch;patch=1 \
24         file://904-flatten-switch-stmt-00.patch;patch=1 \
25         file://arm-nolibfloat.patch;patch=1 \
26         file://arm-softfloat.patch;patch=1 \
27         file://gcc41-configure.in.patch;patch=1 \
28         file://arm-thumb.patch;patch=1 \
29         file://arm-thumb-cache.patch;patch=1 \
30         file://ldflags.patch;patch=1 \
31         file://zecke-xgcc-cpp.patch;patch=1 \
32         file://unbreak-armv4t.patch;patch=1 \
33         file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
34         file://cache-amnesia.patch;patch=1 \
35         file://gfortran.patch;patch=1 \
36         file://pr34130.patch;patch=1 \
37 "
38
39 SRC_URI_avr32 = " http://ewi546.ewi.utwente.nl/tmp/avr32-gcc-4.2.1-atmel.1.0.3.tar.gz \
40         file://100-uclibc-conf.patch;patch=1 \
41         file://103-uclibc-conf-noupstream.patch;patch=1 \
42         file://200-uclibc-locale.patch;patch=1 \
43         file://203-uclibc-locale-no__x.patch;patch=1 \
44         file://204-uclibc-locale-wchar_fix.patch;patch=1 \
45         file://205-uclibc-locale-update.patch;patch=1 \
46         file://300-libstdc++-pic.patch;patch=1 \
47         file://301-missing-execinfo_h.patch;patch=1 \
48         file://302-c99-snprintf.patch;patch=1 \
49         file://303-c99-complex-ugly-hack.patch;patch=1 \
50         file://304-index_macro.patch;patch=1 \
51         file://305-libmudflap-susv3-legacy.patch;patch=1 \
52         file://306-libstdc++-namespace.patch;patch=1 \
53         file://307-locale_facets.patch;patch=1 \
54         file://402-libbackend_dep_gcov-iov.h.patch;patch=1 \
55         file://602-sdk-libstdc++-includes.patch;patch=1 \
56         file://740-sh-pr24836.patch;patch=1 \
57         file://904-flatten-switch-stmt-00.patch;patch=1 \
58         file://gcc41-configure.in.patch;patch=1 \
59         file://ldflags.patch;patch=1 \
60         file://zecke-xgcc-cpp.patch;patch=1 \
61         file://cache-amnesia.patch;patch=1 \
62         file://gfortran.patch;patch=1 \
63 "
64
65 SRC_URI_append_ep93xx = " \
66         file://arm-crunch-saveregs.patch;patch=1 \
67         file://arm-crunch-20000320.patch;patch=1 \
68         file://arm-crunch-compare.patch;patch=1 \
69         file://arm-crunch-compare-unordered.patch;patch=1 \
70         file://arm-crunch-compare-geu.patch;patch=1 \
71         file://arm-crunch-eabi-ieee754.patch;patch=1 \
72         file://arm-crunch-eabi-ieee754-div.patch;patch=1 \
73         file://arm-crunch-64bit-disable0.patch;patch=1 \
74         file://arm-crunch-offset.patch;patch=1 \
75         file://arm-crunch-fp_consts.patch;patch=1 \
76         file://arm-crunch-neg2.patch;patch=1 \
77         file://arm-crunch-predicates3.patch;patch=1 \
78         file://arm-crunch-cfcvtds-disable.patch;patch=1 \
79         file://arm-crunch-floatsi-disable.patch;patch=1 \
80         file://arm-crunch-truncsi-disable.patch;patch=1 \
81         file://arm-crunch-cfcvt64-disable.patch;patch=1 \
82         file://arm-crunch-cirrus-bugfixes.patch;patch=1 \
83        "
84
85 PACKAGE_ARCH_ep93xx = "${MACHINE_ARCH}"
86
87 SRC_URI_append_sh3  = " file://sh3-installfix-fixheaders.patch;patch=1 "
88
89 # Language Overrides
90 FORTRAN = ""
91 FORTRAN_linux-gnueabi = ",fortran"
92 JAVA = ""
93
94 EXTRA_OECONF += " --disable-libgomp --disable-libssp --disable-bootstrap "