2 # path mangling, needed by the cross packaging
3 require gcc-paths-cross.inc
5 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
6 # NOTE: split PR. If the main .oe changes something that affects its *build*
7 # remember to increment this one too.
10 DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native"
11 PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
14 require gcc3-build-cross.inc
16 require gcc-package-cross.inc
17 SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
18 # Do not build libssp libmudflap and libgomp
19 # We might need them for some beefy targets
20 EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
21 --disable-libgomp --disable-libmudflap \
22 --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"