mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
asahi: build asahi_clc for -Dtools=asahi
This allows building tools for cross-compiling without building gallium or vulkan drivers unnecessarily. Backport-to: 25.1 Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Signed-off-by: Janne Grunau <j@jannau.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34693>
This commit is contained in:
parent
7c4cce5bfd
commit
007d7418f8
1 changed files with 5 additions and 2 deletions
|
|
@ -9,12 +9,15 @@ inc_asahi = include_directories([
|
|||
'.', 'layout', 'lib', 'genxml', 'compiler'
|
||||
])
|
||||
|
||||
if with_gallium_asahi or with_asahi_vk
|
||||
if with_gallium_asahi or with_asahi_vk or with_tools.contains('asahi')
|
||||
subdir('genxml')
|
||||
subdir('libagx')
|
||||
subdir('layout')
|
||||
subdir('compiler')
|
||||
subdir('clc')
|
||||
endif
|
||||
|
||||
if with_gallium_asahi or with_asahi_vk
|
||||
subdir('layout')
|
||||
subdir('lib')
|
||||
elif dep_iokit.found()
|
||||
# Just build enough for libwrap.dylib
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue