Merge branch 'vuplus-1.6k' of code.vuplus.com:/opt/repository/openembedded into vuplu...
[vuplus_openembedded] / recipes / gcc / gcc-4.2.4.inc
1 require gcc-common.inc
2 LICENSE = "GPLv3"
3
4 DEPENDS = "mpfr gmp"
5
6 INC_PR = "r10"
7
8 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
9         file://100-uclibc-conf.patch;patch=1 \
10         file://103-uclibc-conf-noupstream.patch;patch=1 \
11         file://200-uclibc-locale.patch;patch=1 \
12         file://203-uclibc-locale-no__x.patch;patch=1 \
13         file://204-uclibc-locale-wchar_fix.patch;patch=1 \
14         file://205-uclibc-locale-update.patch;patch=1 \
15         file://300-libstdc++-pic.patch;patch=1 \
16         file://301-missing-execinfo_h.patch;patch=1 \
17         file://302-c99-snprintf.patch;patch=1 \
18         file://303-c99-complex-ugly-hack.patch;patch=1 \
19         file://304-index_macro.patch;patch=1 \
20         file://305-libmudflap-susv3-legacy.patch;patch=1 \
21         file://306-libstdc++-namespace.patch;patch=1 \
22         file://307-locale_facets.patch;patch=1 \
23         file://402-libbackend_dep_gcov-iov.h.patch;patch=1 \
24         file://602-sdk-libstdc++-includes.patch;patch=1 \
25         file://740-sh-pr24836.patch;patch=1 \
26         file://800-arm-bigendian.patch;patch=1 \
27         file://801-arm-bigendian-eabi.patch;patch=1 \
28         file://904-flatten-switch-stmt-00.patch;patch=1 \
29         file://arm-nolibfloat.patch;patch=1 \
30         file://arm-softfloat.patch;patch=1 \
31         file://gcc41-configure.in.patch;patch=1 \
32         file://arm-thumb.patch;patch=1 \
33         file://arm-thumb-cache.patch;patch=1 \
34         file://zecke-xgcc-cpp.patch;patch=1 \
35         file://unbreak-armv4t.patch;patch=1 \
36         file://cache-amnesia.patch;patch=1 \
37         file://gfortran.patch;patch=1 \
38         file://gcc-4.0.2-e300c2c3.patch;patch=1 \
39         file://fortran-static-linking.patch;patch=1 \
40         file://intermask-bigendian.patch;patch=1 \
41 "
42
43 SRC_URI_append_ep93xx = " \
44         file://ep93xx/arm-crunch-readme.patch;patch=1 \
45         file://ep93xx/arm-crunch-saveregs.patch;patch=1 \
46         file://ep93xx/arm-crunch-scratch.patch;patch=1 \
47         file://ep93xx/arm-crunch-eabi-ieee754-endian-littleword-littlebyte.patch;patch=1 \
48         file://ep93xx/arm-crunch-eabi-mvf0-scratch-ieee754.patch;patch=1 \
49         file://ep93xx/arm-crunch-20000320.patch;patch=1 \
50         file://ep93xx/arm-crunch-disable-cmpdi.patch;patch=1 \
51         file://ep93xx/arm-crunch-fix-64bit-const-offsets.patch;patch=1 \
52         file://ep93xx/arm-crunch-fp_consts.patch;patch=1 \
53         file://ep93xx/arm-crunch-neg-enable.patch;patch=1 \
54         file://ep93xx/arm-crunch-neg-protect.patch;patch=1 \
55         file://ep93xx/arm-crunch-repair-truncxfsi.patch;patch=1 \
56         file://ep93xx/arm-crunch-floatsi-no-scratch.patch;patch=1 \
57         file://ep93xx/arm-crunch-movsf-movdf-Uy.patch;patch=1 \
58         file://ep93xx/arm-crunch-drop-thumb2.patch;patch=1 \
59         file://ep93xx/arm-crunch-arm_dbx_register_number.patch;patch=1 \
60         file://ep93xx/arm-crunch-pipeline.patch;patch=1 \
61         file://ep93xx/arm-crunch-ccmav-mode.patch;patch=1 \
62         file://ep93xx/arm-crunch-cfcpy-with-cfsh64.patch;patch=1 \
63         file://ep93xx/arm-crunch-mieee.patch;patch=1 \
64         file://ep93xx/arm-size-bugfix.patch;patch=1 \
65         file://ep93xx/arm-prologue_use-length.patch;patch=1 \
66         file://ep93xx/arm-crunch-cftruncd32-attr.patch;patch=1 \
67         file://ep93xx/arm-crunch-fix-cirrus-reorg7.patch;patch=1 \
68         file://ep93xx/arm-crunch-cirrus-di-flag.patch;patch=1 \
69         file://ep93xx/arm-crunch-disable-floatsi.patch;patch=1 \
70        "
71
72 PACKAGE_ARCH_ep93xx = "${MACHINE_ARCH}"
73
74 SRC_URI_append_sh3  = " file://sh3-installfix-fixheaders.patch;patch=1 "
75
76 SRC_URI_append_sh4  = " file://sh_unwind.patch;patch=1 \
77                         file://cppdefault_cross.patch;patch=1 \
78                       "
79
80
81 # Language Overrides
82 FORTRAN = ""
83 FORTRAN_linux-gnueabi = ",fortran"
84 JAVA = ""
85
86 EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --enable-libgomp --disable-libmudflap"
87
88 ARM_INSTRUCTION_SET = "arm"