summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmma Anholt <emma@anholt.net>2022-01-25 16:00:59 -0800
committerEmma Anholt <emma@anholt.net>2022-02-02 11:21:57 -0800
commitdbcdededb230083e97bca5e84e53f88ccfa6f160 (patch)
tree4419f191419520571c86c833bcf11da3b053a5ca
parent3d5ee08c15c83294503397d2626df72c2f58b602 (diff)
intel: Add missing dep of gen_*_header.py on utils.py.
Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14725>
-rw-r--r--src/intel/common/meson.build1
-rw-r--r--src/intel/genxml/meson.build4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/intel/common/meson.build b/src/intel/common/meson.build
index 6f04165dda8..894486985c9 100644
--- a/src/intel/common/meson.build
+++ b/src/intel/common/meson.build
@@ -105,6 +105,7 @@ if with_tests and not with_platform_android
output : _name,
command : [prog_python, '@INPUT@'],
capture : true,
+ depend_files: gen_pack_header_deps
)
genxml_path = join_paths(meson.source_root(),
diff --git a/src/intel/genxml/meson.build b/src/intel/genxml/meson.build
index 7e131c319a7..fef902796b4 100644
--- a/src/intel/genxml/meson.build
+++ b/src/intel/genxml/meson.build
@@ -32,6 +32,8 @@ gen_xml_files = [
'gen125.xml',
]
+gen_pack_header_deps = files('util.py')
+
genX_xml_h = custom_target(
'genX_xml.h',
input : ['gen_zipped_file.py', gen_xml_files],
@@ -79,6 +81,7 @@ genX_bits_h = custom_target(
output : 'genX_bits.h',
command : [prog_python, '@INPUT@', '-o', '@OUTPUT@',
'--include-symbols', ','.join(genX_bits_included_symbols)],
+ depend_files: gen_pack_header_deps
)
gen_xml_pack = []
@@ -90,6 +93,7 @@ foreach f : gen_xml_files + ['gen_rt.xml']
output : _name,
command : [prog_python, '@INPUT@', '--engines=render,blitter,video'],
capture : true,
+ depend_files: gen_pack_header_deps
)
endforeach