From: Rouven Czerwinski <[email protected]>

Both the v4l2-ctl and v4l2-compliance tool require that libv4l2 is
available on the system since they are linked dynamically. Ensure that
it is enabled when one of the tools is selected.

Signed-off-by: Rouven Czerwinski <[email protected]>
---
 rules/v4l-utils.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/v4l-utils.in b/rules/v4l-utils.in
index d722aeb25..1394fbcd4 100644
--- a/rules/v4l-utils.in
+++ b/rules/v4l-utils.in
@@ -73,6 +73,7 @@ config V4L_UTILS_RDSCTL
 
 config V4L_UTILS_V4L2COMPLIANCE
        bool
+       select V4L_UTILS_LIBV4L2
        prompt "install v4l2-compliance"
 
 config V4L_UTILS_V4L2DBG
@@ -82,6 +83,7 @@ config V4L_UTILS_V4L2DBG
 
 config V4L_UTILS_V4L2CTL
        bool
+       select V4L_UTILS_LIBV4L2
        prompt "install v4l2-ctl"
 
 config V4L_UTILS_V4L2SYSFSPATH
-- 
2.42.0


Reply via email to