base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES
[openembedded.git] / recipes / gcc / gcc-4.5.inc
blob8bc99a48324784f31d0b455b89a14333e3a151ad
1 DEFAULT_PREFERENCE = "-999"
2 ARM_INSTRUCTION_SET = "arm"
4 require gcc-common.inc
5 LICENSE = "GPLv3"
7 DEPENDS = "mpfr gmp libmpc libelf"
8 NATIVEDEPS = "mpfr-native gmp-native libmpc-native"
11 INC_PR = "r6"
13 SRCREV = "162808"
14 PV = "4.5"
15 # BINV should be incremented after updating to a revision
16 # after a minor gcc release (e.g. 4.5.1 or 4.5.2) has been made
17 # the value will be minor-release+1 e.g. if minor release was
18 # 4.5.1 then the value below will be 2 which will mean 4.5.2
19 # which will be next minor release and so on.
21 BINV = "${PV}.2"
22 BRANCH = "gcc-4_5-branch"
23 PR_append = "+svnr${SRCPV}"
25 SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH} \
26            file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \
27            file://100-uclibc-conf.patch \
28            file://gcc-uclibc-locale-ctype_touplow_t.patch \
29            file://cache-amnesia.patch \
30            file://gcc-flags-for-build.patch \
31            file://libstdc++-emit-__cxa_end_cleanup-in-text.patch \
32            file://arm-bswapsi2.patch \
33           "
35 # Language Overrides
36 FORTRAN = ""
37 JAVA = ""
38 rename_srcdir (){
39         mv ${WORKDIR}/${BRANCH} ${WORKDIR}/gcc-${PV}
42 do_unpack_append() {
43         bb.build.exec_func('rename_srcdir', d)
46 EXTRA_OECONF_BASE = " --enable-lto \
47                       --enable-libssp \
48                       --disable-bootstrap --disable-libgomp \
49                       --disable-libmudflap"
51 EXTRA_OECONF_INITIAL = "--disable-libmudflap --disable-libgomp --disable-libssp --enable-decimal-float=no"
52 EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-libssp"
54 EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float "
55 EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float "
56 EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "