docs: meson -> Meson
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19191>
This commit is contained in:
parent
635bf6339d
commit
1298c5df69
2 changed files with 4 additions and 4 deletions
|
|
@ -8,14 +8,14 @@ Android NDK.
|
|||
|
||||
The Android.mk build system has proven to be hard to maintain, as one
|
||||
needs a built Android tree to build against, and it has never been
|
||||
tested in CI. The meson build system flow is frequently used by
|
||||
tested in CI. The Meson build system flow is frequently used by
|
||||
Chrome OS developers for building and testing Android drivers.
|
||||
|
||||
Building using the Android NDK
|
||||
------------------------------
|
||||
|
||||
Download and install the NDK using whatever method you normally would.
|
||||
Then, create your meson cross file to use it, something like this
|
||||
Then, create your Meson cross file to use it, something like this
|
||||
``~/.local/share/meson/cross/android-aarch64`` file::
|
||||
|
||||
[binaries]
|
||||
|
|
@ -25,7 +25,7 @@ Then, create your meson cross file to use it, something like this
|
|||
c_ld = 'lld'
|
||||
cpp_ld = 'lld'
|
||||
strip = 'NDKDIR/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip'
|
||||
# Android doesn't come with a pkg-config, but we need one for meson to be happy not
|
||||
# Android doesn't come with a pkg-config, but we need one for Meson to be happy not
|
||||
# finding all the optional deps it looks for. Use system pkg-config pointing at a
|
||||
# directory we get to populate with any .pc files we want to add for Android
|
||||
pkgconfig = ['env', 'PKG_CONFIG_LIBDIR=NDKDIR/pkgconfig', '/usr/bin/pkg-config']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue