From 789b048b7cd7e3f95c6b0ea47323abbcc29ac606 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 27 Aug 2020 14:59:41 +0200 Subject: [PATCH] cross-files: update README - 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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/data/cross-files/README.md b/data/cross-files/README.md index 469ef12f8d..bff1b6e836 100644 --- a/data/cross-files/README.md +++ b/data/cross-files/README.md @@ -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.