Files
meta-openembedded/meta-oe/recipes-devtools/gcc/gcc-cross-canadian_4.5.bb
Koen Kooi ba454ab180 gcc: Various fixups to ensure consistent gcc builds
(ported from oe-core for consistency)

We ensure that:
* the shared work directory contains PR and ensure PR values are consistent across gcc builds
* the regexp to handle library directories is in a specific task and run once

This avoids breakage that was seen in incremental builds after commit
be1f70d68b6b75772ebab8bdff683ddd7c42b0cd in oe-core where the interpretor could
become corrupted. This was due to the sed expression corrupting
the source directory.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-10 13:15:13 +02:00

25 lines
779 B
BlitzBasic

inherit cross-canadian
require recipes-devtools/gcc/gcc-${PV}.inc
require recipes-devtools/gcc/gcc-cross-canadian.inc
require recipes-devtools/gcc/gcc-configure-sdk.inc
require recipes-devtools/gcc/gcc-package-sdk.inc
DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
SYSTEMHEADERS = "/usr/include"
SYSTEMLIBS = "/lib/"
SYSTEMLIB. = "/usr/lib/"
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
--disable-libgomp --disable-libmudflap \
--with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \
--with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix}"
# to find libmpfr
# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}"
PARALLEL_MAKE = ""