summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.2.4.inc
blob: 261f10e850a036177b4bff7c8cefc40b213faeb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
require gcc-common.inc
LICENSE = "GPLv3"

DEPENDS = "mpfr gmp"
NATIVEDEPS = "mpfr-native gmp-native"

INC_PR = "r10"

SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2;name=archive \
	file://100-uclibc-conf.patch;apply=yes \
	file://103-uclibc-conf-noupstream.patch;apply=yes \
	file://200-uclibc-locale.patch;apply=yes \
	file://203-uclibc-locale-no__x.patch;apply=yes \
	file://204-uclibc-locale-wchar_fix.patch;apply=yes \
	file://205-uclibc-locale-update.patch;apply=yes \
	file://300-libstdc++-pic.patch;apply=yes \
	file://301-missing-execinfo_h.patch;apply=yes \
	file://302-c99-snprintf.patch;apply=yes \
	file://303-c99-complex-ugly-hack.patch;apply=yes \
	file://304-index_macro.patch;apply=yes \
	file://305-libmudflap-susv3-legacy.patch;apply=yes \
	file://306-libstdc++-namespace.patch;apply=yes \
	file://307-locale_facets.patch;apply=yes \
	file://402-libbackend_dep_gcov-iov.h.patch;apply=yes \
	file://602-sdk-libstdc++-includes.patch;apply=yes \
	file://740-sh-pr24836.patch;apply=yes \
	file://800-arm-bigendian.patch;apply=yes \
	file://801-arm-bigendian-eabi.patch;apply=yes \
	file://904-flatten-switch-stmt-00.patch;apply=yes \
	file://arm-nolibfloat.patch;apply=yes \
	file://arm-softfloat.patch;apply=yes \
	file://gcc41-configure.in.patch;apply=yes \
	file://arm-thumb.patch;apply=yes \
	file://arm-thumb-cache.patch;apply=yes \
	file://zecke-xgcc-cpp.patch;apply=yes \
	file://unbreak-armv4t.patch;apply=yes \
	file://cache-amnesia.patch;apply=yes \
	file://gfortran.patch;apply=yes \
	file://gcc-4.0.2-e300c2c3.patch;apply=yes \
	file://fortran-static-linking.patch;apply=yes \
	file://intermask-bigendian.patch;apply=yes \
"

SRC_URI_append_ep93xx = " \
        file://ep93xx/arm-crunch-readme.patch;apply=yes \
        file://ep93xx/arm-crunch-saveregs.patch;apply=yes \
        file://ep93xx/arm-crunch-scratch.patch;apply=yes \
        file://ep93xx/arm-crunch-eabi-ieee754-endian-littleword-littlebyte.patch;apply=yes \
        file://ep93xx/arm-crunch-eabi-mvf0-scratch-ieee754.patch;apply=yes \
        file://ep93xx/arm-crunch-20000320.patch;apply=yes \
        file://ep93xx/arm-crunch-disable-cmpdi.patch;apply=yes \
        file://ep93xx/arm-crunch-fix-64bit-const-offsets.patch;apply=yes \
        file://ep93xx/arm-crunch-fp_consts.patch;apply=yes \
        file://ep93xx/arm-crunch-neg-enable.patch;apply=yes \
        file://ep93xx/arm-crunch-neg-protect.patch;apply=yes \
        file://ep93xx/arm-crunch-repair-truncxfsi.patch;apply=yes \
        file://ep93xx/arm-crunch-floatsi-no-scratch.patch;apply=yes \
        file://ep93xx/arm-crunch-movsf-movdf-Uy.patch;apply=yes \
        file://ep93xx/arm-crunch-drop-thumb2.patch;apply=yes \
        file://ep93xx/arm-crunch-arm_dbx_register_number.patch;apply=yes \
        file://ep93xx/arm-crunch-pipeline.patch;apply=yes \
        file://ep93xx/arm-crunch-ccmav-mode.patch;apply=yes \
        file://ep93xx/arm-crunch-cfcpy-with-cfsh64.patch;apply=yes \
        file://ep93xx/arm-crunch-mieee.patch;apply=yes \
        file://ep93xx/arm-size-bugfix.patch;apply=yes \
        file://ep93xx/arm-prologue_use-length.patch;apply=yes \
        file://ep93xx/arm-crunch-cftruncd32-attr.patch;apply=yes \
        file://ep93xx/arm-crunch-fix-cirrus-reorg7.patch;apply=yes \
        file://ep93xx/arm-crunch-cirrus-di-flag.patch;apply=yes \
        file://ep93xx/arm-crunch-disable-floatsi.patch;apply=yes \
       "

PACKAGE_ARCH_ep93xx = "${MACHINE_ARCH}"

SRC_URI_append_sh3  = " file://sh3-installfix-fixheaders.patch;apply=yes "

SRC_URI_append_sh4  = " file://sh_unwind.patch;apply=yes \
			file://cppdefault_cross.patch;apply=yes \
		      "


# Language Overrides
FORTRAN = ""
FORTRAN_linux-gnueabi = ",fortran"
JAVA = ""

EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --enable-libgomp --disable-libmudflap"
EXTRA_OECONF_INITIAL = "--disable-libmudflap --disable-libgomp --disable-libssp"
EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-libssp"

ARM_INSTRUCTION_SET = "arm"

SRC_URI[archive.md5sum] = "d79f553e7916ea21c556329eacfeaa16"
SRC_URI[archive.sha256sum] = "afba845e2d38547a63bd3976e90245c81ea176786f9e6966339c6d3761f1133a"