diff options
author | Rob Clark <[email protected]> | 2017-11-10 17:09:01 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-11-10 17:11:48 -0800 |
commit | 881f6e741fe0f63df1aa6aadba7e2eb64269cb20 (patch) | |
tree | d8d56f38faca62f303b70d3f0eefe0d87db2133d /src/gallium | |
parent | d48492074a51045e443d8cab2baf944d7349b7ba (diff) |
meson: Guard freedreno build with with_gallium_freedreno.
This prevents build failures when libdrm_freedreno is unavailable,
which started happening after the ir3_compiler build was enabled.
(Patch by Rob, commit message by Ken).
Fixes: fecd04a66ae ("freedreno/ir3: fix standalone compiler meson build")
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/meson.build b/src/gallium/meson.build index 31884f5b72e..c5772b36cb6 100644 --- a/src/gallium/meson.build +++ b/src/gallium/meson.build @@ -30,7 +30,9 @@ subdir('drivers/rbug') subdir('drivers/radeon') subdir('drivers/radeonsi') subdir('drivers/nouveau') -subdir('drivers/freedreno') +if with_gallium_freedreno + subdir('drivers/freedreno') +endif subdir('drivers/softpipe') if with_gallium_vc4 subdir('drivers/vc4') |