From a35c8581bcfb7c48af037ff8755bac13e65dcf65 Mon Sep 17 00:00:00 2001 From: Christophe Chapuis Date: Sat, 16 Mar 2024 11:00:55 +0100 Subject: lvgl: fix libdrm include When DRM is activated for LVGL, it adds a dependency on drm.h. As for lvgl-demo-fb, add an include path to fix this usecase. Signed-off-by: Christophe Chapuis Acked-by: Martin Jansa Reviewed-by: Marek Vasut Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-oe/recipes-graphics') diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb index 0fb3ddecf2..fddaef4b4f 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb @@ -22,6 +22,8 @@ inherit cmake EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON" S = "${WORKDIR}/git" +TARGET_CFLAGS += "-I${STAGING_INCDIR}/libdrm" + ALLOW_EMPTY:${PN} = "1" PACKAGECONFIG ??= "drm" -- cgit 1.2.3-korg