xbps-src: added support to cross compile for MIPS32 (r2, be, sf) with musl.

This commit is contained in:
Juan RP 2015-05-02 05:56:12 +02:00
parent bb18c1ec70
commit dbf77e4dcd
5 changed files with 948 additions and 2 deletions

View file

@ -0,0 +1,6 @@
# Cross build profile for MIPS32 BE soft float.
XBPS_TARGET_ARCH="mips-musl"
XBPS_CROSS_TRIPLET="mips-linux-musl"
XBPS_CROSS_CFLAGS="-mtune=mips32r2 -mabi=32 -msoft-float"
XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"