From 6a96113107a9cf29b24f50b81f930508c0748fcd Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 8 Aug 2024 00:27:04 +0300 Subject: utils: codegen: gen-controls.py: Move helper classes to separate file The ControlEnum and Control helper classes defined in gen-controls.py are useful for other generator scripts. Move them to a separate file to make it possible to share them. Signed-off-by: Laurent Pinchart Reviewed-by: Daniel Scally --- include/libcamera/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build index d90a8615..a969a95d 100644 --- a/include/libcamera/meson.build +++ b/include/libcamera/meson.build @@ -88,6 +88,7 @@ foreach mode, entry : controls_map command : [gen_controls, '-o', '@OUTPUT@', '--mode', mode, '-t', template_file, '-r', ranges_file, '@INPUT@'], + env : py_build_env, install : true, install_dir : libcamera_headers_install_dir) endforeach -- cgit v1.2.1