aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorChristophe Chapuis <chris.chapuis@gmail.com>2024-03-16 11:00:55 +0100
committerKhem Raj <raj.khem@gmail.com>2024-03-17 13:10:12 -0700
commita35c8581bcfb7c48af037ff8755bac13e65dcf65 (patch)
tree5e09f803db1aafe4958c5f3dcb2eac8c13dc2fa8 /meta-oe/recipes-graphics
parenta898fb981e267eacb63c5e680df90cc9dcb71642 (diff)
downloadmeta-openembedded-a35c8581bcfb7c48af037ff8755bac13e65dcf65.tar.gz
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 <chris.chapuis@gmail.com> Acked-by: Martin Jansa <martin.jansa@gmail.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb2
1 files changed, 2 insertions, 0 deletions
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"