diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-04-27 05:12:18 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-04-27 17:11:13 +0300 |
commit | df587aa10005475a1a9300001e7045b1ba357b9e (patch) | |
tree | 1be5ca2343d9823ba2c807907817a7456a621fc8 /include/linux | |
parent | c34e09d33a6d81e1bbe818a8e652e0c60de50982 (diff) |
libcamera: Make libudev optional
libcamera depends on libudev for device enumeration. It is however
useful to allow building documentation without requiring the dependency
to be installed. Make the libudev dependency optional and compile the
udev-based device enumerator out when libudev is not present.
Note that while libcamera will compile without libudev, it will not be
able to enumerate devices. A sysfs-based device enumerator is planned as
a fallback but not implemented yet.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions