[{"id":5277,"web_url":"https://patchwork.libcamera.org/comment/5277/","msgid":"<20200618202133.GR2351@scaer>","date":"2020-06-18T20:21:33","subject":"Re: [libcamera-devel] [PATCH v4 2/2] package/libcamera: add v4l2\n\tcompatibility layer option","submitter":{"id":11,"url":"https://patchwork.libcamera.org/api/people/11/","name":"Yann E. MORIN","email":"yann.morin.1998@free.fr"},"content":"Peter, All,\n\nOn 2020-06-16 20:59 +0200, Peter Seiderer spake thusly:\n> Signed-off-by: Peter Seiderer <ps.report@gmx.net>\n\nApplied to master, thanks.\n\nRegards,\nYann E. MORIN.\n\n> ---\n> Changes v3 -> v4:\n>   - new patch\n> ---\n>  package/libcamera/Config.in    | 5 +++++\n>  package/libcamera/libcamera.mk | 9 +++++++--\n>  2 files changed, 12 insertions(+), 2 deletions(-)\n> \n> diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in\n> index 56ca5aaf18..960d78b82e 100644\n> --- a/package/libcamera/Config.in\n> +++ b/package/libcamera/Config.in\n> @@ -16,6 +16,11 @@ menuconfig BR2_PACKAGE_LIBCAMERA\n>  \n>  if BR2_PACKAGE_LIBCAMERA\n>  \n> +config BR2_PACKAGE_LIBCAMERA_V4L2\n> +\tbool \"libcamera v4l2 compatibility layer\"\n> +\thelp\n> +\t  libcamera v4l2 compatibility layer\n> +\n>  config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE\n>  \tbool\n>  \n> diff --git a/package/libcamera/libcamera.mk b/package/libcamera/libcamera.mk\n> index c7513d2e68..1633becf04 100644\n> --- a/package/libcamera/libcamera.mk\n> +++ b/package/libcamera/libcamera.mk\n> @@ -15,8 +15,7 @@ LIBCAMERA_DEPENDENCIES = \\\n>  LIBCAMERA_CONF_OPTS = \\\n>  \t-Dandroid=false \\\n>  \t-Ddocumentation=false \\\n> -\t-Dtest=false \\\n> -\t-Dv4l2=false\n> +\t-Dtest=false\n>  LIBCAMERA_INSTALL_STAGING = yes\n>  LIBCAMERA_LICENSE = \\\n>  \tLGPL-2.1+ (library), \\\n> @@ -37,6 +36,12 @@ LIBCAMERA_LICENSE_FILES = \\\n>  \tLICENSES/CC0-1.0.txt \\\n>  \tLICENSES/CC-BY-SA-4.0.txt\n>  \n> +ifeq ($(BR2_PACKAGE_LIBCAMERA_V4L2),y)\n> +LIBCAMERA_CONF_OPTS = -Dv4l2=true\n> +else\n> +LIBCAMERA_CONF_OPTS = -Dv4l2=false\n> +endif\n> +\n>  LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3) += ipu3\n>  ifeq ($(BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI),y)\n>  LIBCAMERA_PIPELINES-y += raspberrypi\n> -- \n> 2.27.0\n>","headers":{"Return-Path":"<yann.morin.1998@free.fr>","Received":["from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3D5D86045E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 18 Jun 2020 22:21:42 +0200 (CEST)","from ymorin.is-a-geek.org (unknown\n\t[IPv6:2a01:cb19:8b51:cb00:85b5:e221:cd83:64a9])\n\t(Authenticated sender: yann.morin.1998)\n\tby smtp4-g21.free.fr (Postfix) with ESMTPSA id 6D84319F5A3;\n\tThu, 18 Jun 2020 22:21:33 +0200 (CEST)","by ymorin.is-a-geek.org (sSMTP sendmail emulation);\n\tThu, 18 Jun 2020 22:21:33 +0200"],"Date":"Thu, 18 Jun 2020 22:21:33 +0200","From":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","To":"Peter Seiderer <ps.report@gmx.net>","Cc":"buildroot@busybox.net, Kieran Bingham <kieran.bingham@ideasonboard.com>, \n\tlibcamera-devel@lists.libcamera.org","Message-ID":"<20200618202133.GR2351@scaer>","References":"<20200616185951.30319-1-ps.report@gmx.net>\n\t<20200616185951.30319-3-ps.report@gmx.net>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<20200616185951.30319-3-ps.report@gmx.net>","User-Agent":"Mutt/1.5.22 (2013-10-16)","X-Mailman-Approved-At":"Fri, 19 Jun 2020 00:59:21 +0200","Subject":"Re: [libcamera-devel] [PATCH v4 2/2] package/libcamera: add v4l2\n\tcompatibility layer option","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Thu, 18 Jun 2020 20:21:42 -0000"}}]