aboutsummaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-4.5.inc
blob: 55e7e41a390df789b41bfe31e12e517242d04e9d (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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
DEFAULT_PREFERENCE = "-999"
ARM_INSTRUCTION_SET = "arm"

require gcc-common.inc
LICENSE = "GPLv3"

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


INC_PR = "r10"

SRCREV = "164562"
PV = "4.5"
# BINV should be incremented after updating to a revision
# after a minor gcc release (e.g. 4.5.1 or 4.5.2) has been made
# the value will be minor-release+1 e.g. if minor release was
# 4.5.1 then the value below will be 2 which will mean 4.5.2
# which will be next minor release and so on.

BINV = "${PV}.2"
BRANCH = "gcc-4_5-branch"
PR_append = "+svnr${SRCPV}"

SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH} \
	   file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
	   file://100-uclibc-conf.patch \
           file://gcc-uclibc-locale-ctype_touplow_t.patch \
	   file://cache-amnesia.patch \
	   file://gcc-flags-for-build.patch \
	   file://libstdc++-emit-__cxa_end_cleanup-in-text.patch \
	   file://arm-bswapsi2.patch \
	   file://Makefile.in.patch \
	   file://linaro/gcc-4.5-linaro-r99297.patch \
	   file://linaro/gcc-4.5-linaro-r99298.patch \
	   file://linaro/gcc-4.5-linaro-r99299.patch \
	   file://linaro/gcc-4.5-linaro-r99300.patch \
	   file://linaro/gcc-4.5-linaro-r99301.patch \
	   file://linaro/gcc-4.5-linaro-r99302.patch \
	   file://linaro/gcc-4.5-linaro-r99303.patch \
	   file://linaro/gcc-4.5-linaro-r99304.patch \
	   file://linaro/gcc-4.5-linaro-r99305.patch \
	   file://linaro/gcc-4.5-linaro-r99306.patch \
	   file://linaro/gcc-4.5-linaro-r99307.patch \
	   file://linaro/gcc-4.5-linaro-r99308.patch \
	   file://linaro/gcc-4.5-linaro-r99310.patch \
	   file://linaro/gcc-4.5-linaro-r99312.patch \
	   file://linaro/gcc-4.5-linaro-r99313.patch \
	   file://linaro/gcc-4.5-linaro-r99314.patch \
	   file://linaro/gcc-4.5-linaro-r99315.patch \
	   file://linaro/gcc-4.5-linaro-r99316.patch \
	   file://linaro/gcc-4.5-linaro-r99318.patch \
	   file://linaro/gcc-4.5-linaro-r99319.patch \
	   file://linaro/gcc-4.5-linaro-r99320.patch \
	   file://linaro/gcc-4.5-linaro-r99321.patch \
	   file://linaro/gcc-4.5-linaro-r99322.patch \
	   file://linaro/gcc-4.5-linaro-r99323.patch \
	   file://linaro/gcc-4.5-linaro-r99324.patch \
	   file://linaro/gcc-4.5-linaro-r99325.patch \
	   file://linaro/gcc-4.5-linaro-r99326.patch \
	   file://linaro/gcc-4.5-linaro-r99327.patch \
	   file://linaro/gcc-4.5-linaro-r99332.patch \
	   file://linaro/gcc-4.5-linaro-r99335.patch \
	   file://linaro/gcc-4.5-linaro-r99336.patch \
	   file://linaro/gcc-4.5-linaro-r99337.patch \
	   file://linaro/gcc-4.5-linaro-r99338.patch \
	   file://linaro/gcc-4.5-linaro-r99339.patch \
	   file://linaro/gcc-4.5-linaro-r99340.patch \
	   file://linaro/gcc-4.5-linaro-r99341.patch \
	   file://linaro/gcc-4.5-linaro-r99342.patch \
	   file://linaro/gcc-4.5-linaro-r99343.patch \
	   file://linaro/gcc-4.5-linaro-r99344.patch \
	   file://linaro/gcc-4.5-linaro-r99345.patch \
	   file://linaro/gcc-4.5-linaro-r99346.patch \
	   file://linaro/gcc-4.5-linaro-r99347.patch \
	   file://linaro/gcc-4.5-linaro-r99348.patch \
	   file://linaro/gcc-4.5-linaro-r99349.patch \
	   file://linaro/gcc-4.5-linaro-r99350.patch \
	   file://linaro/gcc-4.5-linaro-r99351.patch \
	   file://linaro/gcc-4.5-linaro-r99352.patch \
	   file://linaro/gcc-4.5-linaro-r99353.patch \
	   file://linaro/gcc-4.5-linaro-r99354.patch \
	   file://linaro/gcc-4.5-linaro-r99355.patch \
	   file://linaro/gcc-4.5-linaro-r99356.patch \
	   file://linaro/gcc-4.5-linaro-r99357.patch \
	   file://linaro/gcc-4.5-linaro-r99358.patch \
	   file://linaro/gcc-4.5-linaro-r99359.patch \
	   file://linaro/gcc-4.5-linaro-r99360.patch \
	   file://linaro/gcc-4.5-linaro-r99361.patch \
	   file://linaro/gcc-4.5-linaro-r99362.patch \
	   file://linaro/gcc-4.5-linaro-r99363.patch \
	   file://linaro/gcc-4.5-linaro-r99364.patch \
	   file://linaro/gcc-4.5-linaro-r99365.patch \
	   file://linaro/gcc-4.5-linaro-r99366.patch \
	   file://linaro/gcc-4.5-linaro-r99367.patch \
	   file://linaro/gcc-4.5-linaro-r99368.patch \
	   file://linaro/gcc-4.5-linaro-r99369.patch \
	   file://linaro/gcc-4.5-linaro-r99371.patch \
	   file://linaro/gcc-4.5-linaro-r99372.patch \
	   file://linaro/gcc-4.5-linaro-r99373.patch \
	   file://linaro/gcc-4.5-linaro-r99374.patch \
	   file://linaro/gcc-4.5-linaro-r99375.patch \
	   file://linaro/gcc-4.5-linaro-r99376.patch \
	   file://linaro/gcc-4.5-linaro-r99377.patch \
	   file://linaro/gcc-4.5-linaro-r99378.patch \
	   file://linaro/gcc-4.5-linaro-r99379.patch \
	   file://linaro/gcc-4.5-linaro-r99380.patch \
	   file://linaro/gcc-4.5-linaro-r99381.patch \
	   file://linaro/gcc-4.5-linaro-r99383.patch \
	   file://linaro/gcc-4.5-linaro-r99384.patch \
	   file://linaro/gcc-4.5-linaro-r99385.patch \
	   file://linaro/gcc-4.5-linaro-r99388.patch \
	   file://linaro/gcc-4.5-linaro-r99391.patch \
	   file://linaro/gcc-4.5-linaro-r99392.patch \
	   file://linaro/gcc-4.5-linaro-r99393.patch \
	   file://linaro/gcc-4.5-linaro-r99395.patch \
	   file://linaro/gcc-4.5-linaro-r99396.patch \
	   file://linaro/gcc-4.5-linaro-r99397.patch \
	   file://linaro/gcc-4.5-linaro-r99398.patch \
	   file://gcc-vmovl-PR45805.patch \
	  "

# Language Overrides
FORTRAN = ""
JAVA = ""
rename_srcdir (){
        mv ${WORKDIR}/${BRANCH} ${WORKDIR}/gcc-${PV}
}

do_unpack_append() {
        bb.build.exec_func('rename_srcdir', d)
}

EXTRA_OECONF_BASE = " --enable-lto \
		      --enable-libssp \
		      --disable-bootstrap --disable-libgomp \
		      --disable-libmudflap"

EXTRA_OECONF_INITIAL = "--disable-libmudflap --disable-libgomp --disable-libssp --enable-decimal-float=no"
EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-libssp"

EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float "
EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "