summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorEsben Haabendal <eha@doredevelopment.dk>2009-11-19 14:15:19 +0100
committerJoshua Lock <josh@linux.intel.com>2010-01-19 15:08:30 +0000
commit3d3053e6cca7a066a3841a6b0d7222b276895ccf (patch)
tree707341765eef8d8790bcbfcc9655fbdaf7eac330 /meta
parent306756be655f4241769ce44934daf196ae4e06ed (diff)
downloadpoky-3d3053e6cca7a066a3841a6b0d7222b276895ccf.tar.gz
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.bb23
-rw-r--r--meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb8
-rw-r--r--meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb11
-rw-r--r--meta/packages/gcc/gcc-crosssdk_4.2.3.bb16
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 0000000000..f6e60ebf2d
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross-canadian_4.2.3.bb
@@ -0,0 +1,23 @@
1inherit cross-canadian
2
3require gcc-${PV}.inc
4require gcc-cross-canadian.inc
5require gcc-configure-sdk.inc
6require gcc-package-sdk.inc
7
8PR = "r7"
9
10DEPENDS += "gmp-nativesdk mpfr-nativesdk"
11RDEPENDS_${PN} += "mpfr-nativesdk"
12
13SYSTEMHEADERS = "/usr/include"
14SYSTEMLIBS1 = "/usr/lib/"
15
16EXTRA_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
23PARALLEL_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 0000000000..fdfaa2e254
--- /dev/null
+++ b/meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb
@@ -0,0 +1,8 @@
1require gcc-cross-initial_${PV}.bb
2inherit crosssdk
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk"
8PROVIDES = "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 0000000000..339ee63416
--- /dev/null
+++ b/meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb
@@ -0,0 +1,11 @@
1require gcc-cross-intermediate_${PV}.bb
2inherit crosssdk
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7PR = "r1"
8
9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk"
10DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
11PROVIDES = "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 0000000000..3a3d443413
--- /dev/null
+++ b/meta/packages/gcc/gcc-crosssdk_4.2.3.bb
@@ -0,0 +1,16 @@
1require gcc-cross_${PV}.bb
2inherit crosssdk
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7GCCMULTILIB = "--disable-multilib"
8
9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk"
10PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
11
12do_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}