meson: Build panfrost with tools=panfrost

...even if neither GL or VK drivers are being built. Useful for building the
standalone compiler on non-Linux systems.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12003>
This commit is contained in:
Alyssa Rosenzweig 2021-07-21 15:14:17 -04:00 committed by Marge Bot
parent 3a2d317b99
commit c10b886688
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ endif
if with_gallium_freedreno or with_freedreno_vk
subdir('freedreno')
endif
if with_gallium_panfrost or with_gallium_lima or with_panfrost_vk
if with_gallium_panfrost or with_gallium_lima or with_panfrost_vk or with_tools.contains('panfrost')
subdir('panfrost')
endif
if with_gallium_virgl or with_virtio_vk