glibc: added support for armv5tel builds.

This commit is contained in:
Juan RP 2014-03-15 19:35:57 +01:00
parent 939e9ef8e8
commit 510ad5bc67
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ libdl.so.2 glibc-2.8_1
ld-linux-x86-64.so.2 glibc-2.8_1 x86_64
ld-linux.so.2 glibc-2.8_1 i686
ld-linux-armhf.so.3 glibc-2.17_1 armv6l
ld-linux.so.3 glibc-2.17_1 armv5tel
libresolv.so.2 glibc-2.8_1
libanl.so.1 glibc-2.8_1
libthread_db.so.1 glibc-2.8_1

View File

@ -53,6 +53,7 @@ do_configure() {
i686) export CFLAGS+=" -mno-tls-direct-seg-refs";;
# Force hard float ABI.
# To build for soft float: --with-float=soft --without-fp.
armv5*) configure_args+=" --with-march=armv5te --without-fp --with-float=soft";;
armv6l*) configure_args+=" --with-march=armv6 --with-fpu=vfp --with-float=hard";;
armv7l*) configure_args+=" --with-march=armv7-a --with-fpu=vfpv3 --with-float=hard";;
esac