[meta-freescale] [meta-fsl-arm][PATCH 24/33] opencv: Update configuration and add data for demos

Daiane Angolini daiane.list at gmail.com
Mon Jul 13 10:16:17 PDT 2015


On Sat, Jul 11, 2015 at 11:46 AM, Lauren Post <lauren.post at freescale.com> wrote:
> - Disable libav because of commercial licensing
> - Disable V4L2 as it can't work with camera

Commit log does not clearly explain what is "add data for demos". I
understand the "update configuration" is the 2 disabled configurations
above. Can you, please, elaborate?


Daiane
>
> Signed-off-by: Lauren Post <lauren.post at freescale.com>
> ---
>  .../opencv/opencv-samples_%.bbappend               |    6 ++++++
>  .../recipes-support/opencv/opencv_%.bbappend       |    6 ++++++
>  2 files changed, 12 insertions(+)
>  create mode 100644 openembedded-layer/recipes-support/opencv/opencv-samples_%.bbappend
>
> diff --git a/openembedded-layer/recipes-support/opencv/opencv-samples_%.bbappend b/openembedded-layer/recipes-support/opencv/opencv-samples_%.bbappend
> new file mode 100644
> index 0000000..c29bff7
> --- /dev/null
> +++ b/openembedded-layer/recipes-support/opencv/opencv-samples_%.bbappend
> @@ -0,0 +1,6 @@
> +# Install data files
> +
> +do_install_append() {
> +    install -d ${D}/${datadir}/opencv/data
> +    cp -r ${S}/data/* ${D}/${datadir}/opencv/data
> +}
> diff --git a/openembedded-layer/recipes-support/opencv/opencv_%.bbappend b/openembedded-layer/recipes-support/opencv/opencv_%.bbappend
> index be16696..762f24e 100644
> --- a/openembedded-layer/recipes-support/opencv/opencv_%.bbappend
> +++ b/openembedded-layer/recipes-support/opencv/opencv_%.bbappend
> @@ -1,3 +1,9 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
>  SRC_URI_append_mx6sx = " file://0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch"
> +
> +# Remove libav as it has LICENSE_FLAG commmerical
> +PACKAGECONFIG_remove = "libav"
> +
> +# Camera cannot work with libv4l
> +EXTRA_OECMAKE += "-DWITH_LIBV4L=OFF"
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list