By default only uvcvideo, simple and vimc pipelines as well as vimc IPA
are built. Add new variables for enabling a custom set of enabled
pipelines and IPAs.

Signed-off-by: Alexander Stein <alexander.st...@ew.tq-group.com>
---
An example is the 'rkips1' pipeline and IPA.

 .../recipes-multimedia/libcamera/libcamera_0.0.5.bb        | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.5.bb 
b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.5.bb
index 14a20b431..47da0ec61 100644
--- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.5.bb
+++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.0.5.bb
@@ -26,9 +26,12 @@ PACKAGES =+ "${PN}-gst"
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 
gstreamer1.0-plugins-base"
 
+LIBCAMERA_PIPELINES ??= "uvcvideo,simple,vimc"
+LIBCAMERA_IPAS ??= "vimc"
+
 EXTRA_OEMESON = " \
-    -Dpipelines=uvcvideo,simple,vimc \
-    -Dipas=vimc \
+    -Dpipelines=${LIBCAMERA_PIPELINES} \
+    -Dipas=${LIBCAMERA_IPAS} \
     -Dv4l2=true \
     -Dcam=enabled \
     -Dlc-compliance=disabled \
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102642): 
https://lists.openembedded.org/g/openembedded-devel/message/102642
Mute This Topic: https://lists.openembedded.org/mt/98944174/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to