diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-17 00:49:03 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-17 22:25:23 +0100 |
commit | afa02c54709474cee4bb91368a823a8678f57998 (patch) | |
tree | f56e06bb995aeeffe9ff4a39e6db16944519f5a1 /meta/packages/gcc | |
parent | c906f2bce424ecf201f16a486959dab600a847b0 (diff) | |
download | poky-afa02c54709474cee4bb91368a823a8678f57998.tar.gz |
cross-canadian: Add cross-canadian class with gcc and binutils recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r-- | meta/packages/gcc/gcc-cross-canadian.inc | 4 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-canadian_4.3.3.bb | 23 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross-canadian.inc b/meta/packages/gcc/gcc-cross-canadian.inc new file mode 100644 index 0000000000..1f2b5e833a --- /dev/null +++ b/meta/packages/gcc/gcc-cross-canadian.inc | |||
@@ -0,0 +1,4 @@ | |||
1 | inherit cross-canadian | ||
2 | |||
3 | DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc" | ||
4 | |||
diff --git a/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb b/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb new file mode 100644 index 0000000000..f6e60ebf2d --- /dev/null +++ b/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | inherit cross-canadian | ||
2 | |||
3 | require gcc-${PV}.inc | ||
4 | require gcc-cross-canadian.inc | ||
5 | require gcc-configure-sdk.inc | ||
6 | require gcc-package-sdk.inc | ||
7 | |||
8 | PR = "r7" | ||
9 | |||
10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk" | ||
11 | RDEPENDS_${PN} += "mpfr-nativesdk" | ||
12 | |||
13 | SYSTEMHEADERS = "/usr/include" | ||
14 | SYSTEMLIBS1 = "/usr/lib/" | ||
15 | |||
16 | EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ | ||
17 | --disable-libgomp --disable-libmudflap \ | ||
18 | --with-mpfr=${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 = "" | ||