mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 20:18:12 +02:00
meson: split subdir for virtio/vdrm and virtio/vulkan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35723>
This commit is contained in:
parent
6f8c4a7ce1
commit
1a6fc7006a
4 changed files with 9 additions and 11 deletions
|
|
@ -288,6 +288,8 @@ if freedreno_kmds.length() != 0 and freedreno_kmds != [ 'msm' ] and with_freedre
|
||||||
endif
|
endif
|
||||||
|
|
||||||
with_vdrm = [
|
with_vdrm = [
|
||||||
|
with_gallium_virgl,
|
||||||
|
with_virtio_vk,
|
||||||
with_amdgpu_virtio,
|
with_amdgpu_virtio,
|
||||||
freedreno_kmds.contains('virtio'),
|
freedreno_kmds.contains('virtio'),
|
||||||
with_gallium_asahi,
|
with_gallium_asahi,
|
||||||
|
|
|
||||||
|
|
@ -70,8 +70,11 @@ endif
|
||||||
if with_any_intel
|
if with_any_intel
|
||||||
subdir('intel')
|
subdir('intel')
|
||||||
endif
|
endif
|
||||||
if with_vdrm or with_gallium_virgl or with_virtio_vk
|
if with_virtio_vk
|
||||||
subdir('virtio')
|
subdir('virtio/vulkan')
|
||||||
|
endif
|
||||||
|
if with_vdrm
|
||||||
|
subdir('virtio/vdrm')
|
||||||
endif
|
endif
|
||||||
if with_gallium_radeonsi or with_amd_vk or with_gallium_r300 or with_gallium_r600
|
if with_gallium_radeonsi or with_amd_vk or with_gallium_r300 or with_gallium_r600
|
||||||
subdir('amd')
|
subdir('amd')
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
# Copyright © 2017 Intel Corporation
|
|
||||||
# SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
inc_virtio_vdrm = include_directories('./vdrm')
|
|
||||||
|
|
||||||
if with_virtio_vk
|
|
||||||
subdir('vulkan')
|
|
||||||
endif
|
|
||||||
subdir('vdrm')
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
# Copyright 2023 Google LLC
|
# Copyright 2023 Google LLC
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
inc_virtio_vdrm = include_directories('.')
|
||||||
|
|
||||||
libvdrm = static_library(
|
libvdrm = static_library(
|
||||||
'libvdrm',
|
'libvdrm',
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue