meson: Guard freedreno build with with_gallium_freedreno.
authorRob Clark <robdclark@gmail.com>
Sat, 11 Nov 2017 01:09:01 +0000 (17:09 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Nov 2017 01:11:48 +0000 (17:11 -0800)
commit881f6e741fe0f63df1aa6aadba7e2eb64269cb20
treed8d56f38faca62f303b70d3f0eefe0d87db2133d
parentd48492074a51045e443d8cab2baf944d7349b7ba
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 <kenneth@whitecape.org>
src/gallium/meson.build