summaryrefslogtreecommitdiffstats
path: root/src/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-11-13 11:16:28 -0800
committerDylan Baker <[email protected]>2017-11-13 13:43:20 -0800
commit46a7fdd7ca86a5bbf5fff30028cb3093a41c4237 (patch)
tree8ebad5728a8858666fc64482267e97980583aad9 /src/meson.build
parent49fa0747268af6aa22c89c5eacffe36bf93084d0 (diff)
meson: Remove build_by_default from amd code
This is the same logic as the previous two patches. 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 c3b1ff00d00..9232cc4ab18 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -51,7 +51,9 @@ subdir('mapi')
subdir('compiler')
subdir('egl/wayland/wayland-drm')
subdir('vulkan')
-subdir('amd')
+if with_gallium_radeonsi or with_amd_vk
+ subdir('amd')
+endif
if with_gallium_vc4
subdir('broadcom')
endif