package/lbcamera: don't override _CONF_OPTS, but append
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 20 Jun 2020 06:56:20 +0000 (08:56 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 20 Jun 2020 06:56:20 +0000 (08:56 +0200)
Commit 99cc53f3f4 (package/libcamera: add v4l2 compatibility layer
option) incorrectly added the v4l2 option, which makes it so that
the previous options are overrdien.

Fix that by using an append-assignment.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libcamera/libcamera.mk

index fb0e54785b6b8242f11bfa6c68c55d76771c5c3b..ebdf2dba346bd1f07f21ad822c4dadb6ff302812 100644 (file)
@@ -37,9 +37,9 @@ LIBCAMERA_LICENSE_FILES = \
        LICENSES/CC-BY-SA-4.0.txt
 
 ifeq ($(BR2_PACKAGE_LIBCAMERA_V4L2),y)
-LIBCAMERA_CONF_OPTS = -Dv4l2=true
+LIBCAMERA_CONF_OPTS += -Dv4l2=true
 else
-LIBCAMERA_CONF_OPTS = -Dv4l2=false
+LIBCAMERA_CONF_OPTS += -Dv4l2=false
 endif
 
 LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3) += ipu3