[Android] Added tools (unix bash scripts) to recompile Android extlibs
For some reason, one might want to recompile the extlibs but this is a tedious task. That's why these scripts are provided. Please read readme.txt before using them!
This commit is contained in:
parent
90d8b37442
commit
4180e6b31f
11 changed files with 300 additions and 0 deletions
12
tools/android/compile_mips.sh
Executable file
12
tools/android/compile_mips.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
DESTDIR=$PWD/tmp/mips
|
||||
|
||||
PATH=$PWD/toolchains/mips/bin:$PATH
|
||||
CC=mipsel-linux-android-gcc
|
||||
CXX=mipsel-linux-android-g++
|
||||
CFLAGS=-I$DESTDIR/usr/include
|
||||
CPPFLAGS=-I$DESTDIR/usr/include
|
||||
LDFLAGS=-L$DESTDIR/usr/lib
|
||||
|
||||
./compile_libs.sh mips $PATH $CC $CXX $CFLAGS $CPPFLAGS $LDFLAGS
|
Loading…
Add table
Add a link
Reference in a new issue