From e2bc5e916beedc1965da2a7bf9a86e74b24a5562 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Fri, 18 Mar 2022 14:10:57 +0100 Subject: [PATCH] package/libcamera-apps: X11 support needs libdrm - X11 support needs libdrm (optional libdrm dependency already present in libcamera-apps.mk) Fixes: http://autobuild.buildroot.net/results/5df48038df5deb4f1e85287cde9a403c5681c28e .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:18:10: fatal error: libdrm/drm_fourcc.h: No such file or directory 18 | #include | ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Peter Seiderer Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/libcamera-apps/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libcamera-apps/Config.in b/package/libcamera-apps/Config.in index a1affc2d23..492a99cf55 100644 --- a/package/libcamera-apps/Config.in +++ b/package/libcamera-apps/Config.in @@ -14,6 +14,7 @@ config BR2_PACKAGE_LIBCAMERA_APPS select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_TIFF select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 && (BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL) + select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_XORG7 && (BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL) select BR2_PACKAGE_LIBEPOXY if BR2_PACKAGE_XORG7 && (BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL) select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5 select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5