mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
meson/tu: Don't compile libdrm paths if KGSL is selected
Even if there is libdrm we shouldn't use it if KGSL is selected. Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Hyunjun Ko <zzoon@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17173>
This commit is contained in:
parent
6ad7be1b36
commit
a8671b2182
1 changed files with 2 additions and 0 deletions
|
|
@ -88,6 +88,8 @@ endif
|
|||
|
||||
if with_freedreno_kgsl
|
||||
tu_flags += '-DTU_USE_KGSL'
|
||||
# Even if libdrm is available we shouldn't use it in KGSL build
|
||||
tu_flags += '-UHAVE_LIBDRM'
|
||||
libtu_files += files('tu_kgsl.c')
|
||||
else
|
||||
libtu_files += files('tu_drm.c')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue