libcamera: Add option to configure udev support
libcamera uses udev to support hotplug (and unplug) detection. This is an optional feature, which gets selected automatically if udev is available. Users may however want to build libcamera without hotplug detection, even if udev is available on the system. Add a new feature option to control udev support. The default value is auto, which retains the existing behaviour. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
ca437b4a0c
commit
d314d3b98b
3 changed files with 7 additions and 1 deletions
|
@ -66,6 +66,11 @@ option('tracing',
|
|||
value : 'auto',
|
||||
description : 'Enable tracing (based on lttng)')
|
||||
|
||||
option('udev',
|
||||
type : 'feature',
|
||||
value : 'auto',
|
||||
description : 'Enable udev support for hotplug')
|
||||
|
||||
option('v4l2',
|
||||
type : 'boolean',
|
||||
value : false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue