git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4605 311d38ba-8fff-0310-9ca6-ca027cbcb966
27 lines
1 KiB
BlitzBasic
27 lines
1 KiB
BlitzBasic
PR = "r0"
|
|
|
|
require gcc-csl-arm-2007q3.inc
|
|
require gcc-cross4.inc
|
|
require gcc-configure-cross.inc
|
|
require gcc-package-cross.inc
|
|
|
|
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
|
|
|
|
EXTRA_OECONF += "--disable-multilib --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
|
|
|
|
#We don't want i686 linux ending up in the CFLAGS_FOR_TARGET like this: -isystem/OE/angstrom-tmp/staging/i686-linux/usr/include
|
|
CFLAGS = ""
|
|
CXXFLAGS = ""
|
|
LDFLAGS = ""
|
|
|
|
# staging-linkage and cross-linkage recipes don't work anymore, so do it by hand for this backwards CSL toolchain
|
|
do_compile_prepend() {
|
|
ln -sf ${STAGING_DIR_TARGET}${layout_libdir}/crt*.o ${CROSS_DIR}/${TARGET_SYS}/lib/
|
|
ln -sf ${STAGING_DIR_TARGET}${layout_libdir}/ld-* ${CROSS_DIR}/${TARGET_SYS}/lib/
|
|
ln -sf ${STAGING_DIR_TARGET}/lib/libc* ${CROSS_DIR}/${TARGET_SYS}/lib/
|
|
sed -i -e 's:gcc_no_link=yes:gcc_no_link=no:' ${S}/libstdc++-v3/configure
|
|
|
|
}
|
|
|
|
ARCH_FLAGS_FOR_TARGET += " -L${STAGING_DIR_TARGET}${layout_libdir} -isystem${STAGING_DIR_TARGET}${layout_includedir}"
|