cross-files: update README
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Thu, 27 Aug 2020 12:59:41 +0000 (14:59 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Thu, 27 Aug 2020 14:45:09 +0000 (16:45 +0200)
- fix cross file path in example;
- make_standalone_toolchain.py has been deprecated, it's now recommended
to use prebuilt toolchains.

data/cross-files/README.md

index 469ef12..bff1b6e 100644 (file)
@@ -6,17 +6,16 @@ recommended to use Cerbero to cross compile GStreamer when other external
 dependencies are required.
 
 Once the toolchain is installed and a Meson cross file is created, to build
-GStreamer simply run for example: `meson --cross-file cross-files/mingw_w64_x86-64.txt builddir`.
+GStreamer simply run for example: `meson --cross-file data/cross-files/mingw_w64_x86-64.txt builddir`.
 
 ## Android
 
 Requires Android API level >= 28, previous versions are missing *iconv* dependency.
 
 - Download and extract the [NDK](https://developer.android.com/ndk/)
-- Create a standalone toolchain targeting your arch and API level:
-`./build/tools/make_standalone_toolchain.py --arch $arch --api $api --install-dir $toolchain_path`
 - Create a Meson cross file, you can use `android_arm64_api28.txt` as example
-  and change CPU architectures and toolchain path.
+  and change CPU architectures and toolchain path using the prebuilt toolchains
+  from the NDK.
 
 Notes:
 - On fedora the Android NDK requires the `ncurses-compat-libs` package.