mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
docs/android: fix meson setup for Android cross-compilation
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36534>
This commit is contained in:
parent
18d7162951
commit
1e11f4fb1c
1 changed files with 11 additions and 6 deletions
|
|
@ -72,14 +72,19 @@ one cross-compiling the turnip driver for a stock Pixel phone)
|
|||
|
||||
meson setup build-android-aarch64 \
|
||||
--cross-file android-aarch64 \
|
||||
-Dplatforms=android \
|
||||
-Dplatform-sdk-version=34 \
|
||||
-Dandroid-stub=true \
|
||||
-Dgallium-drivers= \
|
||||
-Dvulkan-drivers=freedreno \
|
||||
-Dfreedreno-kmds=kgsl
|
||||
-Dplatforms=android \
|
||||
-Dplatform-sdk-version=34 \
|
||||
-Dandroid-stub=true \
|
||||
-Degl=disabled \
|
||||
-Dgallium-drivers= \
|
||||
-Dvulkan-drivers=freedreno \
|
||||
-Dfreedreno-kmds=kgsl
|
||||
meson compile -C build-android-aarch64
|
||||
|
||||
For drm drivers, ``-Dallow-fallback-for=libdrm`` is needed. Besides,
|
||||
``-Dallow-fallback-for=libdrm -Dmesa-clc=system`` is needed by nvk, and
|
||||
``-Dprecomp-compiler=system`` is additionally needed by panvk.
|
||||
|
||||
Replacing Android drivers on stock Android
|
||||
------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue