summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-27 05:12:18 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-27 17:11:13 +0300
commitdf587aa10005475a1a9300001e7045b1ba357b9e (patch)
tree1be5ca2343d9823ba2c807907817a7456a621fc8 /Documentation
parentc34e09d33a6d81e1bbe818a8e652e0c60de50982 (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 'Documentation')
-rw-r--r--Documentation/Doxyfile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/Doxyfile.in b/Documentation/Doxyfile.in
index 3e2b7fd9..950ad4fe 100644
--- a/Documentation/Doxyfile.in
+++ b/Documentation/Doxyfile.in
@@ -833,7 +833,9 @@ RECURSIVE = YES
# Note that relative paths are relative to the directory from which doxygen is
# run.
-EXCLUDE = ../src/libcamera/pipeline/
+EXCLUDE = ../src/libcamera/device_enumerator_udev.cpp \
+ ../src/libcamera/include/device_enumerator_udev.h \
+ ../src/libcamera/pipeline/
# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
# directories that are symbolic links (a Unix file system feature) are excluded