aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/README.md')
-rw-r--r--tools/depends/README.md21
1 files changed, 9 insertions, 12 deletions
diff --git a/tools/depends/README.md b/tools/depends/README.md
index b4bc0587dd..2e5db17886 100644
--- a/tools/depends/README.md
+++ b/tools/depends/README.md
@@ -20,25 +20,25 @@ Paths below are examples. If you want to build Kodi, follow our **[build guides]
### All platforms
`./bootstrap`
### Darwin
-**macOS (x86_64)**
+**macOS (x86_64)**
`./configure --host=x86_64-apple-darwin`
-**iOS (arm64)**
+**iOS (arm64)**
`./configure --host=aarch64-apple-darwin`
-**tvOS**
+**tvOS**
`./configure --host=aarch64-apple-darwin --with-platform=tvos`
**NOTE:** You can target the same `--prefix=` path. Each setup will be done in an isolated directory. The last configure/make you do is the one used for Kodi/Xcode.
-
+
### Android
-**arm**
+**arm**
`./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=arm-linux-androideabi --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-ndk-r20 --prefix=$HOME/android-tools/xbmc-depends`
-**aarch64**
+**aarch64**
`./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=aarch64-linux-android --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-ndk-r20 --prefix=$HOME/android-tools/xbmc-depends`
-**x86**
+**x86**
`./configure --with-tarballs=$HOME/android-tools/xbmc-tarballs --host=i686-linux-android --with-sdk-path=$HOME/android-tools/android-sdk-linux --with-ndk-path=$HOME/android-tools/android-ndk-r20 --prefix=$HOME/android-tools/xbmc-depends`
**x86_64**
@@ -47,13 +47,10 @@ Paths below are examples. If you want to build Kodi, follow our **[build guides]
> **Note:** Android x86 and x86_64 are not maintained and are not 100% sure that everything works correctly!
### Linux
-**ARM (codesourcery/lenaro/etc)**
+**ARM (codesourcery/lenaro/etc)**
`./configure --with-toolchain=/opt/toolchains/my-example-toolchain/ --prefix=/opt/xbmc-deps --host=arm-linux-gnueabi`
-**Raspberry Pi**
-`./configure --with-platform=raspberry-pi --host=arm-linux-gnueabihf --prefix=/opt/xbmc-deps --with-tarballs=/opt/xbmc-tarballs --with-toolchain=/opt/rbp-dev/tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf --with-firmware=/opt/rbp-dev/firmware --build=i686-linux`
-
-**Native**
+**Native**
`./configure --with-toolchain=/usr --prefix=/opt/xbmc-deps --host=x86_64-linux-gnu`
Cross compiling is a PITA.