[Mesa-dev] [PATCH mesa 2/2] meson: move dep_libdrm_intel with the other dep_libdrm_*
Eric Engestrom
eric.engestrom at imgtec.com
Mon Jan 29 18:15:51 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
meson.build | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/meson.build b/meson.build
index 6d7a8e976ff6ad002d9a..b70c03637beb705f1f9f 100644
--- a/meson.build
+++ b/meson.build
@@ -211,11 +211,6 @@ if with_gallium_pl111 and not with_gallium_vc4
error('pl111 driver requires vc4 driver')
endif
-dep_libdrm_intel = []
-if with_dri_i915 or with_gallium_i915
- dep_libdrm_intel = dependency('libdrm_intel', version : '>= @0@'.format(libdrm_intel_version))
-endif
-
system_has_kms_drm = ['openbsd', 'netbsd', 'freebsd', 'dragonfly', 'linux'].contains(host_machine.system())
if host_machine.system() == 'darwin'
@@ -970,6 +965,10 @@ dep_libdrm_radeon = []
dep_libdrm_nouveau = []
dep_libdrm_etnaviv = []
dep_libdrm_freedreno = []
+dep_libdrm_intel = []
+if with_dri_i915 or with_gallium_i915
+ dep_libdrm_intel = dependency('libdrm_intel', version : '>= @0@'.format(libdrm_intel_version))
+endif
if with_amd_vk or with_gallium_radeonsi
dep_libdrm_amdgpu = dependency('libdrm_amdgpu', version : '>= @0@'.format(libdrm_amdgpu_version))
endif
--
Cheers,
Eric
More information about the mesa-dev
mailing list