freedreno/registers: fix installation of schema
A previous cleanup erroneously removed the installation of the schema
and copyright files. This caused tools like cffdump to fail when the
source directory was not available. This patch re-enables the
installation of these files.
Signed-off-by: Job Noorman <jnoorman@igalia.com>
Fixes: bf89f777f8 ("freedreno/registers: fix generation dependencies")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28422>
This commit is contained in:
@@ -22,9 +22,14 @@ xml_files = [
|
||||
'adreno.xml',
|
||||
]
|
||||
|
||||
rules_file = 'rules-fd.xsd'
|
||||
copyright_file = 'freedreno_copyright.xml'
|
||||
|
||||
install_files = xml_files + [rules_file, copyright_file]
|
||||
|
||||
gen_header_py = files('gen_header.py')
|
||||
freedreno_schema = files('rules-fd.xsd')
|
||||
freedreno_copyright = files('freedreno_copyright.xml')
|
||||
freedreno_schema = files(rules_file)
|
||||
freedreno_copyright = files(copyright_file)
|
||||
|
||||
freedreno_xml_header_files = []
|
||||
|
||||
@@ -37,7 +42,9 @@ foreach f : xml_files
|
||||
command: [prog_python, '@INPUT0@', '--rnn', rnn_src_path, '--xml', '@INPUT1@', 'c-defines'],
|
||||
capture: true,
|
||||
)
|
||||
endforeach
|
||||
|
||||
foreach f : install_files
|
||||
_gzname = f + '.gz'
|
||||
custom_target(
|
||||
_gzname,
|
||||
|
||||
Reference in New Issue
Block a user