pvr: split idep_pco_uscgen_programs_h in two

When we do multiarch, we want to be able to refer to the headers
separately from the sources here, so let's split this dependency in two.

Reviewed-by: Ashish Chauhan <ashish.chauhan@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38423>
This commit is contained in:
Erik Faye-Lund 2025-11-04 11:59:48 +01:00 committed by Marge Bot
parent 8df205d520
commit 8233f77caa
2 changed files with 8 additions and 3 deletions

View file

@ -40,11 +40,16 @@ pco_uscgen_programs = custom_target(
env: ['PCO_DEBUG=no_pred_cf'], env: ['PCO_DEBUG=no_pred_cf'],
) )
idep_pco_uscgen_programs_h = declare_dependency( idep_pco_uscgen_programs_headers = declare_dependency(
sources : [pco_uscgen_programs], sources : [pco_uscgen_programs[0]],
include_directories : include_directories('.'), include_directories : include_directories('.'),
) )
idep_pco_uscgen_programs = declare_dependency(
sources : [pco_uscgen_programs],
dependencies : idep_pco_uscgen_programs_headers,
)
### ###
libpowervr_uscgen = static_library( libpowervr_uscgen = static_library(

View file

@ -68,7 +68,7 @@ pvr_deps = [
dep_libdrm, dep_libdrm,
dep_valgrind, dep_valgrind,
idep_mesautil, idep_mesautil,
idep_pco_uscgen_programs_h, idep_pco_uscgen_programs,
idep_vulkan_runtime, idep_vulkan_runtime,
idep_vulkan_util, idep_vulkan_util,
idep_vulkan_wsi, idep_vulkan_wsi,