1# Copyright © 2022 Imagination Technologies Ltd. 2# SPDX-License-Identifier: MIT 3 4pvr_xml_files = [ 5 'rogue_cdm.xml', 6 'rogue_cr.xml', 7 'rogue_ipf.xml', 8 'rogue_kmd_stream.xml', 9 'rogue_lls.xml', 10 'rogue_pbestate.xml', 11 'rogue_pds.xml', 12 'rogue_ppp.xml', 13 'rogue_texstate.xml', 14 'rogue_vdm.xml', 15] 16 17pvr_xml_pack = [] 18foreach f : pvr_xml_files 19 _name = '@[email protected]'.format(f.split('.')[0]) 20 pvr_xml_pack += custom_target( 21 _name, 22 input : ['gen_pack_header.py', f], 23 output : _name, 24 command : [prog_python, '@INPUT@'], 25 capture : true, 26 ) 27endforeach 28 29dep_csbgen = declare_dependency(sources : [pvr_xml_pack]) 30