mirror of
https://github.com/agherzan/meta-raspberrypi.git
synced 2025-12-06 06:19:11 +00:00
rpi-libcamera-apps: add drm support
Add a 'drm' PACKAGECONFIG entry in order to provide support for a DRM preview window while running the libcamera apps. Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
This commit is contained in:
committed by
Andrei Gherzan
parent
48c3cc7413
commit
83a422668c
@@ -34,6 +34,7 @@ LIBCAMERA_ARCH:arm:raspberrypi3 = "armv8-neon"
|
|||||||
LIBCAMERA_ARCH:arm:raspberrypi4 = "armv8-neon"
|
LIBCAMERA_ARCH:arm:raspberrypi4 = "armv8-neon"
|
||||||
EXTRA_OECMAKE += "-DENABLE_COMPILE_FLAGS_FOR_TARGET=${LIBCAMERA_ARCH}"
|
EXTRA_OECMAKE += "-DENABLE_COMPILE_FLAGS_FOR_TARGET=${LIBCAMERA_ARCH}"
|
||||||
|
|
||||||
|
PACKAGECONFIG[drm] = "-DENABLE_DRM=1,-DENABLE_DRM=0,libdrm"
|
||||||
PACKAGECONFIG[x11] = "-DENABLE_X11=1,-DENABLE_X11=0"
|
PACKAGECONFIG[x11] = "-DENABLE_X11=1,-DENABLE_X11=0"
|
||||||
PACKAGECONFIG[qt] = "-DENABLE_QT=1,-DENABLE_QT=0"
|
PACKAGECONFIG[qt] = "-DENABLE_QT=1,-DENABLE_QT=0"
|
||||||
PACKAGECONFIG[opencv] = "-DENABLE_OPENCV=1,-DENABLE_OPENCV=0,opencv"
|
PACKAGECONFIG[opencv] = "-DENABLE_OPENCV=1,-DENABLE_OPENCV=0,opencv"
|
||||||
|
|||||||
Reference in New Issue
Block a user