summaryrefslogtreecommitdiffstats
path: root/src/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-11-13 11:14:47 -0800
committerDylan Baker <[email protected]>2017-11-13 13:43:15 -0800
commit49fa0747268af6aa22c89c5eacffe36bf93084d0 (patch)
tree5cdfb770f8346edbc25253d9203f9590ed2e1928 /src/meson.build
parent2bfd34c518134dd656f4f23f3c6c8acb1eeda507 (diff)
meson: Don't build intel shared components by default
It's a neat idea, and still useful in some cases, but the intel common code is used by i965 and anvil only, this is a little clearer. Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build
index 53c8269a99e..c3b1ff00d00 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -55,7 +55,9 @@ subdir('amd')
if with_gallium_vc4
subdir('broadcom')
endif
-subdir('intel')
+if with_dri_i965 or with_intel_vk
+ subdir('intel')
+endif
subdir('mesa')
subdir('loader')
subdir('glx')