summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-05-01 10:51:02 +0200
committerBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-05-22 13:16:07 +0200
commitd997e97512908f3047d4bbc481590d4a1475ce1e (patch)
treea7ccd000314fc94d8aa136a79ee89ec668dcf5e2 /utils
parent702af1a1d0974a70d5a603e1ed84acd281fa36e4 (diff)
utils: codegen: Make users depend on `controls.py` in meson
Currently, modifying `controls.py` does not make those build targets dirty that use a script that includes it (e.g. `gen-controls.py`) because meson has no knowledge of this dependency. Add `depend_files` to each `custom_target()` invocation to fix this. Ideally it would be possible to attach this dependency to `gen_controls`, `gen_gst_controls`, etc. objects themselves, so that repetition is avoided, but this does not seem possible at the moment. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Acked-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/codegen/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/codegen/meson.build b/utils/codegen/meson.build
index 904dd66d..8d1c6908 100644
--- a/utils/codegen/meson.build
+++ b/utils/codegen/meson.build
@@ -16,4 +16,6 @@ gen_header = files('gen-header.sh')
gen_ipa_pub_key = files('gen-ipa-pub-key.py')
gen_tracepoints = files('gen-tp-header.py')
+py_mod_controls = files('controls.py')
+
subdir('ipc')