summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-20 22:29:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-23 16:20:12 +0100
commita966f3017b1af8df515e19fdd3a39366ab4dc219 (patch)
tree49034b6ab883dd61c19763ed8512c5d010b7ada5 /meta/recipes-devtools/gcc/gcc-cross-canadian.inc
parent19950532859eefcce3ccf91ee880fd16f5d933ef (diff)
downloadpoky-a966f3017b1af8df515e19fdd3a39366ab4dc219.tar.gz
gcc-cross-canadian: Merge 4.7 and 4.8 recipes into common include
This removes duplication and follows the pattern of the other gcc recipes. (From OE-Core rev: 3296c896f5a5ef7dd50ab4e00ddbf1c2476462dc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-canadian.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index 10ddacf7fa..85c3166424 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -7,3 +7,22 @@ BPN = "gcc"
7DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext" 7DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext"
8 8
9GCCMULTILIB = "--enable-multilib" 9GCCMULTILIB = "--enable-multilib"
10
11require gcc-configure-sdk.inc
12require gcc-package-sdk.inc
13
14ELFUTILS = "nativesdk-elfutils"
15DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc ${ELFUTILS} nativesdk-zlib"
16RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}"
17
18SYSTEMHEADERS = "/usr/include"
19SYSTEMLIBS = "${target_base_libdir}/"
20SYSTEMLIBS1 = "${target_libdir}/"
21
22EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
23 --disable-libgomp --disable-libmudflap \
24 --with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \
25 --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix}"
26
27# gcc 4.7 needs -isystem
28export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"