diff options
author | Esben Haabendal <eha@doredevelopment.dk> | 2009-11-19 14:15:19 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-01-19 15:08:30 +0000 |
commit | 3d3053e6cca7a066a3841a6b0d7222b276895ccf (patch) | |
tree | 707341765eef8d8790bcbfcc9655fbdaf7eac330 /meta | |
parent | 306756be655f4241769ce44934daf196ae4e06ed (diff) | |
download | openembedded-core-3d3053e6cca7a066a3841a6b0d7222b276895ccf.tar.gz openembedded-core-3d3053e6cca7a066a3841a6b0d7222b276895ccf.tar.bz2 openembedded-core-3d3053e6cca7a066a3841a6b0d7222b276895ccf.tar.xz openembedded-core-3d3053e6cca7a066a3841a6b0d7222b276895ccf.zip |
Add crosssdk and cross-canadian gcc 4.2.3 recipes
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/gcc/gcc-cross-canadian_4.2.3.bb | 23 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb | 8 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb | 11 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk_4.2.3.bb | 16 |
4 files changed, 58 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross-canadian_4.2.3.bb b/meta/packages/gcc/gcc-cross-canadian_4.2.3.bb new file mode 100644 index 000000000..f6e60ebf2 --- /dev/null +++ b/meta/packages/gcc/gcc-cross-canadian_4.2.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 = "" diff --git a/meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb b/meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb new file mode 100644 index 000000000..fdfaa2e25 --- /dev/null +++ b/meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb @@ -0,0 +1,8 @@ +require gcc-cross-initial_${PV}.bb +inherit crosssdk + +SYSTEMHEADERS = "${SDKPATH}/include" +SYSTEMLIBS1 = "${SDKPATH}/lib/" + +DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk" +PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial-crosssdk" diff --git a/meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb b/meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb new file mode 100644 index 000000000..339ee6341 --- /dev/null +++ b/meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb @@ -0,0 +1,11 @@ +require gcc-cross-intermediate_${PV}.bb +inherit crosssdk + +SYSTEMHEADERS = "${SDKPATH}/include" +SYSTEMLIBS1 = "${SDKPATH}/lib/" + +PR = "r1" + +DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk" +DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk" +PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate-crosssdk" diff --git a/meta/packages/gcc/gcc-crosssdk_4.2.3.bb b/meta/packages/gcc/gcc-crosssdk_4.2.3.bb new file mode 100644 index 000000000..3a3d44341 --- /dev/null +++ b/meta/packages/gcc/gcc-crosssdk_4.2.3.bb @@ -0,0 +1,16 @@ +require gcc-cross_${PV}.bb +inherit crosssdk + +SYSTEMHEADERS = "${SDKPATH}/include" +SYSTEMLIBS1 = "${SDKPATH}/lib/" + +GCCMULTILIB = "--disable-multilib" + +DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk" +PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" + +do_configure_prepend () { + # Change the default dynamic linker path to the one in the SDK + sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS1}#' + sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS1}#' +} |