[Buildroot] [git commit] package/lbcamera: don't override _CONF_OPTS, but append
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Jun 20 06:56:20 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=f835da1c6d7ab59f459e66932ccfbfe5d49560b6
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at free.fr>
---
package/libcamera/libcamera.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/libcamera/libcamera.mk b/package/libcamera/libcamera.mk
index fb0e54785b..ebdf2dba34 100644
--- a/package/libcamera/libcamera.mk
+++ b/package/libcamera/libcamera.mk
@@ -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
More information about the buildroot
mailing list