summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-cross_csl-arm-2007q3.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-06-06 14:34:02 +0000
committerRichard Purdie <richard@openedhand.com>2008-06-06 14:34:02 +0000
commitd03981d6c1e03400febfaa83ceddce84b10ac2e1 (patch)
tree0046ecda45428664573a455e4625b39b17ff1a7a /meta/packages/gcc/gcc-cross_csl-arm-2007q3.bb
parent76c8b40e44022dc238f81bb9107761d3f7bb30fe (diff)
downloadpoky-d03981d6c1e03400febfaa83ceddce84b10ac2e1.tar.gz
gcc: Add csl 2007q3 from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4605 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-cross_csl-arm-2007q3.bb')
-rw-r--r--meta/packages/gcc/gcc-cross_csl-arm-2007q3.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross_csl-arm-2007q3.bb b/meta/packages/gcc/gcc-cross_csl-arm-2007q3.bb
new file mode 100644
index 0000000000..4fde67b006
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross_csl-arm-2007q3.bb
@@ -0,0 +1,26 @@
1PR = "r0"
2
3require gcc-csl-arm-2007q3.inc
4require gcc-cross4.inc
5require gcc-configure-cross.inc
6require gcc-package-cross.inc
7
8SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
9
10EXTRA_OECONF += "--disable-multilib --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
11
12#We don't want i686 linux ending up in the CFLAGS_FOR_TARGET like this: -isystem/OE/angstrom-tmp/staging/i686-linux/usr/include
13CFLAGS = ""
14CXXFLAGS = ""
15LDFLAGS = ""
16
17# staging-linkage and cross-linkage recipes don't work anymore, so do it by hand for this backwards CSL toolchain
18do_compile_prepend() {
19 ln -sf ${STAGING_DIR_TARGET}${layout_libdir}/crt*.o ${CROSS_DIR}/${TARGET_SYS}/lib/
20 ln -sf ${STAGING_DIR_TARGET}${layout_libdir}/ld-* ${CROSS_DIR}/${TARGET_SYS}/lib/
21 ln -sf ${STAGING_DIR_TARGET}/lib/libc* ${CROSS_DIR}/${TARGET_SYS}/lib/
22 sed -i -e 's:gcc_no_link=yes:gcc_no_link=no:' ${S}/libstdc++-v3/configure
23
24}
25
26ARCH_FLAGS_FOR_TARGET += " -L${STAGING_DIR_TARGET}${layout_libdir} -isystem${STAGING_DIR_TARGET}${layout_includedir}"