diff options
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}" | ||