summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-05-18 16:13:12 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-18 17:52:27 +0300
commited3a440177bef2be8aa079f6915939be7a223125 (patch)
treeb4277002c576ae5d89f1ef90cd01460912bc45bd
parentf4783e689918abf6f470f4bcaaadaf3c2400dff4 (diff)
py: meson: Use files() for custom_target input files
Use files() for the input files for the custom_target(). I believe the current code works, but perhaps it is safer to use files() here. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/py/libcamera/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build
index 2fc2eaec..cd20bb00 100644
--- a/src/py/libcamera/meson.build
+++ b/src/py/libcamera/meson.build
@@ -17,10 +17,10 @@ pycamera_sources = files([
'pymain.cpp',
])
-gen_input_files = [
- meson.project_source_root() / 'src' / 'libcamera' / 'control_ids.yaml',
+gen_input_files = files([
+ '../../libcamera/control_ids.yaml',
'pyenums_generated.cpp.in',
-]
+])
gen_py_control_enums = files('gen-py-control-enums.py')