eglibc: fix build for armv4 machines
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 3 Aug 2011 12:12:37 +0000 (16:12 +0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Aug 2011 14:04:35 +0000 (15:04 +0100)
commita8ccf2a9bdd7cd8bc60f7ff7ae0a7b6a5c034695
treed663e05f5a0bfae05af22ea8c4455056391ff077
parent9e1c44cc6262cbe539ab6c58db9d53dd854ad85f
eglibc: fix build for armv4 machines

eglibc builds for arm-eabi unconditionally enables the libc-do-syscall.S
file, which contains thumb assembly. It's unused in arm-eabi-nothumb case,
so just ifdef the actual code.

V2: use the patch from oe.dev.

The patch is submitted to sourceware bugzilla by Khem Raj back in October
of 2010, but the status is still UNCONFIRMED and the patch isn't commited.

(From OE-Core rev: d557b18845d2ddc035d7f3949713ba1961a8cce1)

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/eglibc/eglibc-2.12/armv4-eabi-compile-fix.patch [new file with mode: 0644]
meta/recipes-core/eglibc/eglibc-2.13/armv4-eabi-compile-fix.patch [new file with mode: 0644]
meta/recipes-core/eglibc/eglibc_2.12.bb
meta/recipes-core/eglibc/eglibc_2.13.bb