diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-03-26 19:14:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-22 14:45:04 +0100 |
commit | c3cc4bfc83e53acdb2e7ef6ac139598a5ebd8a7f (patch) | |
tree | 2a3505dad8eb2a27605ee31906ed4c483d8528c3 /meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb | |
parent | 7195096f5754245f2b495a1629c6eb5ae6427afe (diff) | |
download | poky-c3cc4bfc83e53acdb2e7ef6ac139598a5ebd8a7f.tar.gz |
gcc-4.8: Add recipes
(From OE-Core rev: c850415a1bdbb9268114d90fd0fc4cb3479de9c5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
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.bb | 26 |
1 files changed, 26 insertions, 0 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 new file mode 100644 index 0000000000..53c463264f --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.8.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | inherit cross-canadian | ||
2 | |||
3 | require recipes-devtools/gcc/gcc-${PV}.inc | ||
4 | require gcc-cross-canadian.inc | ||
5 | require gcc-configure-sdk.inc | ||
6 | require gcc-package-sdk.inc | ||
7 | |||
8 | DEPENDS += "nativesdk-gmp nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils" | ||
9 | RDEPENDS_${PN} += "nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils" | ||
10 | |||
11 | SYSTEMHEADERS = "/usr/include" | ||
12 | SYSTEMLIBS = "${target_base_libdir}/" | ||
13 | SYSTEMLIBS1 = "${target_libdir}/" | ||
14 | |||
15 | EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ | ||
16 | --disable-libgomp --disable-libmudflap \ | ||
17 | --with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \ | ||
18 | --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix}" | ||
19 | |||
20 | # to find libmpfr | ||
21 | # export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}" | ||
22 | |||
23 | PARALLEL_MAKE = "" | ||
24 | |||
25 | # gcc 4.7 needs -isystem | ||
26 | export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" | ||