meson: build radeon drm-shim also for r300 and r600

Right now the drm-shim is build only when one also builds radeonsi
or radv.

Acked-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19692>
This commit is contained in:
Pavel Ondračka 2022-05-03 08:17:57 +02:00 committed by Marge Bot
parent c699122d6a
commit 65ffcee23d
2 changed files with 9 additions and 7 deletions

View File

@ -20,12 +20,14 @@
inc_amd = include_directories('.')
subdir('addrlib')
subdir('common')
if with_llvm
subdir('llvm')
else
libamd_common_llvm = []
if with_amd_vk or with_gallium_radeonsi
subdir('addrlib')
subdir('common')
if with_llvm
subdir('llvm')
else
libamd_common_llvm = []
endif
endif
if with_amd_vk
subdir('compiler')

View File

@ -84,7 +84,7 @@ endif
if with_any_intel
subdir('intel')
endif
if with_gallium_radeonsi or with_amd_vk
if with_gallium_radeonsi or with_amd_vk or with_gallium_r300 or with_gallium_r600
subdir('amd')
endif
if with_any_broadcom