5 NATIVEDEPS = "mpfr-native gmp-native"
9 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2;name=archive \
10 file://100-uclibc-conf.patch \
11 file://103-uclibc-conf-noupstream.patch \
12 file://200-uclibc-locale.patch \
13 file://203-uclibc-locale-no__x.patch \
14 file://204-uclibc-locale-wchar_fix.patch \
15 file://205-uclibc-locale-update.patch \
16 file://300-libstdc++-pic.patch \
17 file://301-missing-execinfo_h.patch \
18 file://302-c99-snprintf.patch \
19 file://303-c99-complex-ugly-hack.patch \
20 file://304-index_macro.patch \
21 file://305-libmudflap-susv3-legacy.patch \
22 file://306-libstdc++-namespace.patch \
23 file://307-locale_facets.patch \
24 file://402-libbackend_dep_gcov-iov.h.patch \
25 file://602-sdk-libstdc++-includes.patch \
26 file://740-sh-pr24836.patch \
27 file://800-arm-bigendian.patch \
28 file://801-arm-bigendian-eabi.patch \
29 file://904-flatten-switch-stmt-00.patch \
30 file://arm-nolibfloat.patch \
31 file://arm-softfloat.patch \
32 file://gcc41-configure.in.patch \
33 file://arm-thumb.patch \
34 file://arm-thumb-cache.patch \
35 file://zecke-xgcc-cpp.patch \
36 file://unbreak-armv4t.patch \
37 file://cache-amnesia.patch \
38 file://gfortran.patch \
39 file://gcc-4.0.2-e300c2c3.patch \
40 file://fortran-static-linking.patch \
41 file://intermask-bigendian.patch \
42 file://libstdc++-hack-libtool-remove-lstdc++.patch \
45 SRC_URI_append_ep93xx = " \
46 file://ep93xx/arm-crunch-readme.patch \
47 file://ep93xx/arm-crunch-saveregs.patch \
48 file://ep93xx/arm-crunch-scratch.patch \
49 file://ep93xx/arm-crunch-eabi-ieee754-endian-littleword-littlebyte.patch \
50 file://ep93xx/arm-crunch-eabi-mvf0-scratch-ieee754.patch \
51 file://ep93xx/arm-crunch-20000320.patch \
52 file://ep93xx/arm-crunch-disable-cmpdi.patch \
53 file://ep93xx/arm-crunch-fix-64bit-const-offsets.patch \
54 file://ep93xx/arm-crunch-fp_consts.patch \
55 file://ep93xx/arm-crunch-neg-enable.patch \
56 file://ep93xx/arm-crunch-neg-protect.patch \
57 file://ep93xx/arm-crunch-repair-truncxfsi.patch \
58 file://ep93xx/arm-crunch-floatsi-no-scratch.patch \
59 file://ep93xx/arm-crunch-movsf-movdf-Uy.patch \
60 file://ep93xx/arm-crunch-drop-thumb2.patch \
61 file://ep93xx/arm-crunch-arm_dbx_register_number.patch \
62 file://ep93xx/arm-crunch-pipeline.patch \
63 file://ep93xx/arm-crunch-ccmav-mode.patch \
64 file://ep93xx/arm-crunch-cfcpy-with-cfsh64.patch \
65 file://ep93xx/arm-crunch-mieee.patch \
66 file://ep93xx/arm-size-bugfix.patch \
67 file://ep93xx/arm-prologue_use-length.patch \
68 file://ep93xx/arm-crunch-cftruncd32-attr.patch \
69 file://ep93xx/arm-crunch-fix-cirrus-reorg7.patch \
70 file://ep93xx/arm-crunch-cirrus-di-flag.patch \
71 file://ep93xx/arm-crunch-disable-floatsi.patch \
74 PACKAGE_ARCH_ep93xx = "${MACHINE_ARCH}"
76 SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch "
78 SRC_URI_append_sh4 = " file://sh_unwind.patch \
79 file://cppdefault_cross.patch \
81 # with sysroot this change is not needed for gcc 4.3+ but its needed
82 # for older compilers because of bug in libtool as well as this PR
83 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5291
84 # we append the .la munging specially for libstdc++ and libsupc++ here
85 # This change if needed for other compilers in use should be put
86 # in there specific inc file.
88 do_install_append () {
89 for d in ${target_libdir} ${target_libdir}/nof; do
90 sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-lm '|" ${D}$d/libsupc++.la || true
91 sed -i "s|dependency_libs\s*=\s*.*|dependency_libs='-lm '|" ${D}$d/libstdc++.la || true
97 FORTRAN_linux-gnueabi = ",fortran"
100 EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --enable-libgomp --disable-libmudflap"
101 EXTRA_OECONF_INITIAL = "--disable-libmudflap --disable-libgomp --disable-libssp"
102 EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-libssp"
104 ARM_INSTRUCTION_SET = "arm"
106 SRC_URI[archive.md5sum] = "d79f553e7916ea21c556329eacfeaa16"
107 SRC_URI[archive.sha256sum] = "afba845e2d38547a63bd3976e90245c81ea176786f9e6966339c6d3761f1133a"