| 1 |
# Copyright © 2022 Imagination Technologies Ltd. |
| 2 |
# SPDX-License-Identifier: MIT |
| 3 |
|
| 4 |
pvr_xml_files = [ |
| 5 |
'cdm.xml', |
| 6 |
'cr.xml', |
| 7 |
'ipf.xml', |
| 8 |
'kmd_stream.xml', |
| 9 |
'lls.xml', |
| 10 |
'pbestate.xml', |
| 11 |
'pds.xml', |
| 12 |
'ppp.xml', |
| 13 |
'texstate.xml', |
| 14 |
'vdm.xml', |
| 15 |
] |
| 16 |
|
| 17 |
foreach f : pvr_xml_files |
| 18 |
_name = '@[email protected]'.format(f.split('.')[0]) |
| 19 |
pvr_xml_pack += custom_target( |
| 20 |
_name, |
| 21 |
input : ['../gen_pack_header.py', f], |
| 22 |
output : _name, |
| 23 |
command : [prog_python, '@INPUT@'], |
| 24 |
capture : true, |
| 25 |
) |
| 26 |
endforeach |