diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-20 22:29:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-23 16:20:12 +0100 |
commit | a966f3017b1af8df515e19fdd3a39366ab4dc219 (patch) | |
tree | 49034b6ab883dd61c19763ed8512c5d010b7ada5 /meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |
parent | 19950532859eefcce3ccf91ee880fd16f5d933ef (diff) | |
download | poky-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.inc | 19 |
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" | |||
7 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext" | 7 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext" |
8 | 8 | ||
9 | GCCMULTILIB = "--enable-multilib" | 9 | GCCMULTILIB = "--enable-multilib" |
10 | |||
11 | require gcc-configure-sdk.inc | ||
12 | require gcc-package-sdk.inc | ||
13 | |||
14 | ELFUTILS = "nativesdk-elfutils" | ||
15 | DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc ${ELFUTILS} nativesdk-zlib" | ||
16 | RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}" | ||
17 | |||
18 | SYSTEMHEADERS = "/usr/include" | ||
19 | SYSTEMLIBS = "${target_base_libdir}/" | ||
20 | SYSTEMLIBS1 = "${target_libdir}/" | ||
21 | |||
22 | EXTRA_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 | ||
28 | export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" | ||