mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-08 10:00:27 +01:00
freedreno/registers: add a custom build target for adreno_pm4.xml.gz
Add a custom build target to generate and install the compressed
adreno_pm4.xml file, needed by rnn that's utilized through different tools.
This used to be generated in the generic loop of XML files, but was then
left out after adreno_pm4.xml handling was special-cased.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Fixes: 950f07748a ("meson: Use adreno-pm4-pack.xml.h instead of custom definitions")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39213>
This commit is contained in:
parent
93d05cdfd8
commit
813451893e
1 changed files with 11 additions and 0 deletions
|
|
@ -44,6 +44,17 @@ freedreno_pm4_xml_header_file += custom_target(
|
|||
)
|
||||
freedreno_xml_header_files += freedreno_pm4_xml_header_file
|
||||
|
||||
custom_target(
|
||||
'adreno_pm4.xml.gz',
|
||||
input: 'adreno_pm4.xml',
|
||||
output: 'adreno_pm4.xml.gz',
|
||||
command: [prog_gzip, '-kc', '@INPUT@'],
|
||||
capture: true,
|
||||
install_dir: rnn_install_path + '/adreno',
|
||||
install: install_fd_decode_tools,
|
||||
build_by_default: install_fd_decode_tools,
|
||||
)
|
||||
|
||||
foreach f : xml_files
|
||||
_name = f + '.h'
|
||||
freedreno_xml_header_files += custom_target(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue