aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-02-09 07:38:17 +0000
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-02-10 14:19:46 +0100
commitf67c5faec91a228d506cf27000d12ff0a4063566 (patch)
tree218051ac6ebe31fb0c775a32ef8fd125c5d6886b /recipes/gcc
parent88c3458253fa4a5b4e901564f9213db88a0268e1 (diff)
downloadopenembedded-f67c5faec91a228d506cf27000d12ff0a4063566.tar.gz
openembedded-f67c5faec91a228d506cf27000d12ff0a4063566.tar.bz2
openembedded-f67c5faec91a228d506cf27000d12ff0a4063566.zip
gcc csl 2007q3: import header hack from Poky to get glibc 2.5 built
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Acked-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/gcc')
-rw-r--r--recipes/gcc/gcc-cross-initial_csl-arm-2007q3.bb6
-rw-r--r--recipes/gcc/gcc-cross-intermediate_csl-arm-2007q3.bb6
-rw-r--r--recipes/gcc/gcc-cross_csl-arm-2007q3.bb2
-rw-r--r--recipes/gcc/gcc_csl-arm-2007q3.bb2
4 files changed, 14 insertions, 2 deletions
diff --git a/recipes/gcc/gcc-cross-initial_csl-arm-2007q3.bb b/recipes/gcc/gcc-cross-initial_csl-arm-2007q3.bb
index c9f03a7920..cfa64dc219 100644
--- a/recipes/gcc/gcc-cross-initial_csl-arm-2007q3.bb
+++ b/recipes/gcc/gcc-cross-initial_csl-arm-2007q3.bb
@@ -4,3 +4,9 @@ require gcc-cross-initial.inc
S = "${WORKDIR}/gcc-4.2"
EXTRA_OECONF += "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap "
+
+# Hack till we fix *libc properly
+do_install_append() {
+ ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/
+}
+
diff --git a/recipes/gcc/gcc-cross-intermediate_csl-arm-2007q3.bb b/recipes/gcc/gcc-cross-intermediate_csl-arm-2007q3.bb
index 5423626a99..35325901de 100644
--- a/recipes/gcc/gcc-cross-intermediate_csl-arm-2007q3.bb
+++ b/recipes/gcc/gcc-cross-intermediate_csl-arm-2007q3.bb
@@ -4,3 +4,9 @@ require gcc-cross-intermediate.inc
S = "${WORKDIR}/gcc-4.2"
EXTRA_OECONF += "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap "
+
+# Hack till we fix *libc properly
+do_install_append() {
+ ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/
+}
+
diff --git a/recipes/gcc/gcc-cross_csl-arm-2007q3.bb b/recipes/gcc/gcc-cross_csl-arm-2007q3.bb
index 34bd251a12..adf7f5ae4c 100644
--- a/recipes/gcc/gcc-cross_csl-arm-2007q3.bb
+++ b/recipes/gcc/gcc-cross_csl-arm-2007q3.bb
@@ -1,4 +1,4 @@
-PR = "r5"
+PR = "r6"
require gcc-csl-arm-2007q3.inc
require gcc-cross4.inc
diff --git a/recipes/gcc/gcc_csl-arm-2007q3.bb b/recipes/gcc/gcc_csl-arm-2007q3.bb
index cc7540af15..2df12ef9ef 100644
--- a/recipes/gcc/gcc_csl-arm-2007q3.bb
+++ b/recipes/gcc/gcc_csl-arm-2007q3.bb
@@ -1,4 +1,4 @@
-PR = "r3"
+PR = "r4"
require gcc-${PV}.inc
require gcc-configure-target.inc