Hi Alexander, Quoting Alexander Stein (2023-05-23 14:15:55) > Hi Kieran, > > Am Mittwoch, 17. Mai 2023, 14:07:35 CEST schrieb Kieran Bingham: > > Hi Alex, > > > > Quoting Alexander Stein (2023-05-17 09:27:59) > > > > > 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" > > > > Could you test with LIBCAMERA_PIPELINES ??= "auto" please? That should > > give an appropriate selection based on the architecture. But it may > > depend on the correct architecture being conveyed through the meson > > cross files. > > That seems to work as well. Using "-Dpipelines=auto" and "Dipas" removed, I > get the following lines in log.do_configure: > > > Configuration > > > > IPA modules signed with : gnutls > > Enabled pipelines : imx8-isi > > > > rkisp1 > > rpi/vc4 > > simple > > uvcvideo > > > > Enabled IPA modules : rkisp1 > > > > rpi/vc4 > > This seems a good default for an aarch64 platform. > > > > + > > > > > > EXTRA_OEMESON = " \ > > > > > > - -Dpipelines=uvcvideo,simple,vimc \ > > > - -Dipas=vimc \ > > > + -Dpipelines=${LIBCAMERA_PIPELINES} \ > > > + -Dipas=${LIBCAMERA_IPAS} \ > > > > I think you should probably remove the -Dipas option too and let that be > > selected automatically by the pipelines choice. > > That's true as well (see above), but I still would like to disable unneeded, > unwanted IPAs or pipelines. If I read the meson code correctly an IPA is only > enabled if a corresponding pipeline is enabled as well, right?
Correct. Only IPA's with a corresponding Pipeline handler enabled will be built. And with auto - that will match the target architecture + UVC. -- Kieran
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#102740): https://lists.openembedded.org/g/openembedded-devel/message/102740 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] -=-=-=-=-=-=-=-=-=-=-=-