From afa02c54709474cee4bb91368a823a8678f57998 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Sep 2009 00:49:03 +0100 Subject: cross-canadian: Add cross-canadian class with gcc and binutils recipes Signed-off-by: Richard Purdie --- meta/packages/gcc/gcc-cross-canadian.inc | 4 ++++ meta/packages/gcc/gcc-cross-canadian_4.3.3.bb | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 meta/packages/gcc/gcc-cross-canadian.inc create mode 100644 meta/packages/gcc/gcc-cross-canadian_4.3.3.bb (limited to 'meta/packages/gcc') diff --git a/meta/packages/gcc/gcc-cross-canadian.inc b/meta/packages/gcc/gcc-cross-canadian.inc new file mode 100644 index 000000000..1f2b5e833 --- /dev/null +++ b/meta/packages/gcc/gcc-cross-canadian.inc @@ -0,0 +1,4 @@ +inherit cross-canadian + +DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc" + 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 000000000..f6e60ebf2 --- /dev/null +++ b/meta/packages/gcc/gcc-cross-canadian_4.3.3.bb @@ -0,0 +1,23 @@ +inherit cross-canadian + +require gcc-${PV}.inc +require gcc-cross-canadian.inc +require gcc-configure-sdk.inc +require gcc-package-sdk.inc + +PR = "r7" + +DEPENDS += "gmp-nativesdk mpfr-nativesdk" +RDEPENDS_${PN} += "mpfr-nativesdk" + +SYSTEMHEADERS = "/usr/include" +SYSTEMLIBS1 = "/usr/lib/" + +EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ + --disable-libgomp --disable-libmudflap \ + --with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix}" + +# to find libmpfr +# export LD_LIBRARY_PATH = "{STAGING_DIR_HOST}${layout_exec_prefix}" + +PARALLEL_MAKE = "" -- cgit v1.2.3