summaryrefslogtreecommitdiff
path: root/packages/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc')
-rw-r--r--packages/gcc/gcc-cross-sdk_csl-arm-2007q3.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/gcc/gcc-cross-sdk_csl-arm-2007q3.bb b/packages/gcc/gcc-cross-sdk_csl-arm-2007q3.bb
new file mode 100644
index 0000000000..bc66b51f7c
--- /dev/null
+++ b/packages/gcc/gcc-cross-sdk_csl-arm-2007q3.bb
@@ -0,0 +1,27 @@
+PR = "r0"
+
+inherit sdk
+
+require gcc-csl-arm-2007q3.inc
+require gcc-cross-sdk.inc
+require gcc-configure-sdk.inc
+require gcc-package-sdk.inc
+
+EXTRA_OECONF += " \
+ --disable-multilib \
+ --disable-libssp \
+ --disable-libgomp \
+ --disable-libunwind-exceptions \
+ --disable-libmudflap \
+ --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 = ""
+
+# Hack till we fix *libc properly
+do_install_append() {
+ cp -a ${D}${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed/* ${D}${gcclibdir}/${TARGET_SYS}/${BINV}/include/
+}