[libcamera-devel] [PATCH v5 06/12] libcamera: pipeline: build: Add pipeline_data_dir variable

Naushir Patuck naush at raspberrypi.com
Wed Jan 18 09:59:47 CET 2023


Add a pipeline_data_dir variable to the meson build files. This variable
points to the location of pipeline handler specific configuration files on
the filesystem.

Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
---
 src/libcamera/pipeline/meson.build | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/libcamera/pipeline/meson.build b/src/libcamera/pipeline/meson.build
index 30dc5b97f1dc..f14869f3a3c0 100644
--- a/src/libcamera/pipeline/meson.build
+++ b/src/libcamera/pipeline/meson.build
@@ -1,5 +1,8 @@
 # SPDX-License-Identifier: CC0-1.0
 
+# Location of pipeline specific configuration files
+pipeline_data_dir = libcamera_datadir / 'pipeline'
+
 foreach pipeline : pipelines
     subdir(pipeline)
 endforeach
-- 
2.25.1



More information about the libcamera-devel mailing list