mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/libcamera: add v4l2 compatibility layer option
Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
f88d5f5244
commit
99cc53f3f4
@@ -16,6 +16,11 @@ menuconfig BR2_PACKAGE_LIBCAMERA
|
|||||||
|
|
||||||
if BR2_PACKAGE_LIBCAMERA
|
if BR2_PACKAGE_LIBCAMERA
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIBCAMERA_V4L2
|
||||||
|
bool "libcamera v4l2 compatibility layer"
|
||||||
|
help
|
||||||
|
libcamera v4l2 compatibility layer
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,7 @@ LIBCAMERA_DEPENDENCIES = \
|
|||||||
LIBCAMERA_CONF_OPTS = \
|
LIBCAMERA_CONF_OPTS = \
|
||||||
-Dandroid=false \
|
-Dandroid=false \
|
||||||
-Ddocumentation=false \
|
-Ddocumentation=false \
|
||||||
-Dtest=false \
|
-Dtest=false
|
||||||
-Dv4l2=false
|
|
||||||
LIBCAMERA_INSTALL_STAGING = yes
|
LIBCAMERA_INSTALL_STAGING = yes
|
||||||
LIBCAMERA_LICENSE = \
|
LIBCAMERA_LICENSE = \
|
||||||
LGPL-2.1+ (library), \
|
LGPL-2.1+ (library), \
|
||||||
@@ -37,6 +36,12 @@ LIBCAMERA_LICENSE_FILES = \
|
|||||||
LICENSES/CC0-1.0.txt \
|
LICENSES/CC0-1.0.txt \
|
||||||
LICENSES/CC-BY-SA-4.0.txt
|
LICENSES/CC-BY-SA-4.0.txt
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBCAMERA_V4L2),y)
|
||||||
|
LIBCAMERA_CONF_OPTS = -Dv4l2=true
|
||||||
|
else
|
||||||
|
LIBCAMERA_CONF_OPTS = -Dv4l2=false
|
||||||
|
endif
|
||||||
|
|
||||||
LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3) += ipu3
|
LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3) += ipu3
|
||||||
ifeq ($(BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI),y)
|
ifeq ($(BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI),y)
|
||||||
LIBCAMERA_PIPELINES-y += raspberrypi
|
LIBCAMERA_PIPELINES-y += raspberrypi
|
||||||
|
|||||||
Reference in New Issue
Block a user