1 DEFAULT_PREFERENCE = "-999"
2 ARM_INSTRUCTION_SET = "arm"
7 DEPENDS = "mpfr gmp libmpc libelf"
8 NATIVEDEPS = "mpfr-native gmp-native libmpc-native"
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.
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 \
39 mv ${WORKDIR}/${BRANCH} ${WORKDIR}/gcc-${PV}
43 bb.build.exec_func('rename_srcdir', d)
46 EXTRA_OECONF_BASE = " --enable-lto \
48 --disable-bootstrap --disable-libgomp \
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 "