summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch26
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.12.bb3
2 files changed, 28 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch b/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
new file mode 100644
index 0000000000..5c90e5bae0
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
@@ -0,0 +1,26 @@
1We now pass --with-cpu option to eglibc this ends up with configure errors if we do
2not pass a cpu which eglibc has support for in sysdeps
3
4| checking sysdep dirs... configure: error: The 603e subspecies of powerpc is not supported.
5| + bbfatal 'oe_runconf failed'
6| + echo 'ERROR: oe_runconf failed'
7
8We fix this by adding the 603e sub directories with Implies to generic
9powerpc to overcome this error
10
11Upstream-Status: Inappropriate [OE config related]
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14
15Index: libc/ports/sysdeps/powerpc/powerpc32/603e/Implies
16===================================================================
17--- /dev/null 1970-01-01 00:00:00.000000000 +0000
18+++ libc/ports/sysdeps/powerpc/powerpc32/603e/Implies 2011-09-17 19:18:57.593292084 -0700
19@@ -0,0 +1 @@
20+powerpc/powerpc32
21Index: libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/Implies
22===================================================================
23--- /dev/null 1970-01-01 00:00:00.000000000 +0000
24+++ libc/ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/603e/Implies 2011-09-17 19:17:48.613292100 -0700
25@@ -0,0 +1 @@
26+powerpc/powerpc32
diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb b/meta/recipes-core/eglibc/eglibc_2.12.bb
index 0fbd070497..42202196da 100644
--- a/meta/recipes-core/eglibc/eglibc_2.12.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
@@ -1,7 +1,7 @@
1require eglibc.inc 1require eglibc.inc
2 2
3DEPENDS += "gperf-native" 3DEPENDS += "gperf-native"
4PR = "r26" 4PR = "r27"
5 5
6SRCREV = "14158" 6SRCREV = "14158"
7 7
@@ -12,6 +12,7 @@ SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http
12 file://shorten-build-commands.patch \ 12 file://shorten-build-commands.patch \
13 file://mips-rld-map-check.patch \ 13 file://mips-rld-map-check.patch \
14 file://armv4-eabi-compile-fix.patch \ 14 file://armv4-eabi-compile-fix.patch \
15 file://ppc-enable-603e-cpu.patch \
15 file://etc/ld.so.conf \ 16 file://etc/ld.so.conf \
16 file://generate-supported.mk \ 17 file://generate-supported.mk \
17 " 18 "