mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Added mips compilation code (yet unsupported).
This commit is contained in:
parent
fd24e50511
commit
2cd100e4bb
2 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,7 @@ A port of [syncthing](https://github.com/calmh/syncthing) to Android.
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
There are multiple ways to get the native syncthing binary:
|
There are multiple ways to get the native syncthing binary:
|
||||||
- Depending on your target architecture, download `syncthing-linux-386`, `syncthing-linux-armv5` or `syncthing-linux-armv7` from [syncthing releases](https://github.com/calmh/syncthing/releases), and extract the binary to `libs/x86/libsyncthing.so`, `libs/armeabi-v7a/libsyncthing.so` or `libs/armeabi/libsyncthing.so` respectively.
|
- Depending on your target architecture, download `syncthing-linux-386`, `syncthing-linux-armv5`, `syncthing-linux-armv7` or `syncthing-linux-mips` from [syncthing releases](https://github.com/calmh/syncthing/releases), and extract the binary to `libs/x86/libsyncthing.so`, `libs/armeabi-v7a/libsyncthing.so`, `libs/armeabi/libsyncthing.so` or `libs/mips/libsyncthing.so` respectively.
|
||||||
- Set up a syncthing compile and run `gradle buildNative` in your syncthing-android directory.
|
- Set up a syncthing compile and run `gradle buildNative` in your syncthing-android directory.
|
||||||
|
|
||||||
Then, run `gradle assembleDebug`.
|
Then, run `gradle assembleDebug`.
|
||||||
|
|
|
@ -21,3 +21,7 @@ cp syncthing syncthing-armeabi-v7a
|
||||||
export GOARM=5
|
export GOARM=5
|
||||||
./build.sh
|
./build.sh
|
||||||
cp syncthing syncthing-armeabi
|
cp syncthing syncthing-armeabi
|
||||||
|
|
||||||
|
#export GOARCH=mips
|
||||||
|
#./build.sh
|
||||||
|
#cp syncthing syncthing-mips
|
||||||
|
|
Loading…
Reference in a new issue