summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-cross-sdk_csl-arm-2007q3.bb
blob: bc66b51f7c9012eba9ff71d59f904319ce426e30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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/
}