summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb
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_4.8.bb
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_4.8.bb')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb20
1 files changed, 0 insertions, 20 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb
index bf49c3d0bb..bf53c5cd78 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb
@@ -1,25 +1,5 @@
1inherit cross-canadian
2
3require recipes-devtools/gcc/gcc-${PV}.inc 1require recipes-devtools/gcc/gcc-${PV}.inc
4require gcc-cross-canadian.inc 2require gcc-cross-canadian.inc
5require gcc-configure-sdk.inc
6require gcc-package-sdk.inc
7
8ELFUTILS = "nativesdk-elfutils"
9DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc ${ELFUTILS} nativesdk-zlib"
10RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc ${ELFUTILS}"
11
12SYSTEMHEADERS = "/usr/include"
13SYSTEMLIBS = "${target_base_libdir}/"
14SYSTEMLIBS1 = "${target_libdir}/"
15 3
16EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
17 --disable-libgomp --disable-libmudflap \
18 --with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \
19 --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix}"
20 4
21# to find libmpfr
22# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}"
23 5
24# gcc 4.7 needs -isystem
25export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"