summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-09-22 08:57:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-30 16:37:48 +0000
commitb137421cfc9ded1480d8ef49f18b6bd90a0f617b (patch)
treea008f06892ad3aa70910397ef0dc4e5b0e3203aa /meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
parent3a8590f1059e400ca6136241c19f9acca9e62bf7 (diff)
downloadpoky-b137421cfc9ded1480d8ef49f18b6bd90a0f617b.tar.gz
eglibc-2.12: Fix build on powerpc/603e
We pass --with-cpu to eglibc now. Which breaks the configure for cpus that it does not support We add support for ppc603e which gets 2.12 building for qemuppc. (From OE-Core rev: 465a988e2370ec377875b599045f2a7bad913ac6) (From OE-Core rev: f6dbd42382d980d90f3e64a94178a0050af537cf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-core/eglibc/eglibc_2.12.bb
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch26
1 files changed, 26 insertions, 0 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