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/packages/gcc/gcc-crosssdk_4.2.3.bb | |
parent | 306756be655f4241769ce44934daf196ae4e06ed (diff) | |
download | poky-3d3053e6cca7a066a3841a6b0d7222b276895ccf.tar.gz |
Add crosssdk and cross-canadian gcc 4.2.3 recipes
Diffstat (limited to 'meta/packages/gcc/gcc-crosssdk_4.2.3.bb')
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk_4.2.3.bb | 16 |
1 files changed, 16 insertions, 0 deletions
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 0000000000..3a3d443413 --- /dev/null +++ b/meta/packages/gcc/gcc-crosssdk_4.2.3.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | require gcc-cross_${PV}.bb | ||
2 | inherit crosssdk | ||
3 | |||
4 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
5 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
6 | |||
7 | GCCMULTILIB = "--disable-multilib" | ||
8 | |||
9 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk" | ||
10 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" | ||
11 | |||
12 | do_configure_prepend () { | ||
13 | # Change the default dynamic linker path to the one in the SDK | ||
14 | sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS1}#' | ||
15 | sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS1}#' | ||
16 | } | ||