mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 10:17:16 +02:00
Update build.md
This commit is contained in:
parent
daf5d52b7b
commit
f77f58e610
1 changed files with 7 additions and 7 deletions
14
doc/build.md
14
doc/build.md
|
@ -129,13 +129,13 @@ Cross compilation for Android is done with the [Android NDK](http://developer.an
|
|||
|
||||
###Android NDK setup
|
||||
http://developer.android.com/ndk/guides/standalone_toolchain.html
|
||||
1. Download NDK: `http://dl.google.com/android/repository/android-ndk-r12b-linux-x86_64.zip`
|
||||
2. Extract to: `/SOME/LOCAL/PATH/android-ndk-r12b`
|
||||
1. Download NDK: `https://dl.google.com/android/repository/android-ndk-r13-linux-x86_64.zip`
|
||||
2. Extract to: `/SOME/LOCAL/PATH/android-ndk-r13`
|
||||
3. Setup toolchain somewhere in your home dir (`<android-ndk dir>`):
|
||||
|
||||
````
|
||||
$ cd /SOME/LOCAL/PATH/android-ndk-r10e/build/tools
|
||||
$ ./make-standalone-toolchain.sh --arch=arm --platform=android-14 --install-dir=<android-ndk dir> --ndk-dir=/SOME/LOCAL/PATH/android-ndk-r12b
|
||||
$ cd /SOME/LOCAL/PATH/android-ndk-r13/build/tools
|
||||
$ ./make_standalone_toolchain.py --arch arm --api 14 --install-dir <android-ndk dir>
|
||||
````
|
||||
|
||||
###Build Snapclient
|
||||
|
@ -184,7 +184,7 @@ Within the OpenWrt directory create symbolic links to the Snapcast source direct
|
|||
Build Snapcast:
|
||||
|
||||
$ cd <buildroot dir>
|
||||
$ make package/sxx/snapcast/clean V=s
|
||||
$ make package/sxx/snapcast/compile -j1 V=s
|
||||
$ make package/sxx/snapcast/clean
|
||||
$ make package/sxx/snapcast/compile
|
||||
|
||||
The packaged `ipk` files are in `<buildroot dir>/bin/ar71xx/packages/base/snap[client|server]_0.6.0_ar71xx.ipk`
|
||||
The packaged `ipk` files are in `<buildroot dir>/bin/ar71xx/packages/base/snap[client|server]_x.x.x_ar71xx.ipk`
|
||||
|
|
Loading…
Add table
Reference in a new issue