aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2024-03-22 21:49:15 +0100
committerKhem Raj <raj.khem@gmail.com>2024-03-22 21:19:50 -0700
commit1cb0dae6b8bddcef854aa30a61af8213b638a63a (patch)
tree0766442b06a6c6afd6980fac7a437286abc94807 /meta-oe/recipes-graphics
parentc01d979608a0463d1d4311c35c6cf50ed101e7e5 (diff)
downloadmeta-openembedded-1cb0dae6b8bddcef854aa30a61af8213b638a63a.tar.gz
lvgl: Deduplicate PACKAGECONFIG into lv-conf
Move the default PACKAGECONFIG setting from both recipes into lv-conf.inc to avoid duplication. No functional change. Signed-off-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/lv-conf.inc2
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb1
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb1
3 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/lv-conf.inc b/meta-oe/recipes-graphics/lvgl/lv-conf.inc
index 8596790ae0..8fd3412c04 100644
--- a/meta-oe/recipes-graphics/lvgl/lv-conf.inc
+++ b/meta-oe/recipes-graphics/lvgl/lv-conf.inc
@@ -1,3 +1,5 @@
+PACKAGECONFIG ??= "drm"
+
PACKAGECONFIG[drm] = ",,libdrm"
PACKAGECONFIG[fbdev] = ",,"
PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image"
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb
index 2bf56e293c..3fc3f92860 100644
--- a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb
@@ -20,7 +20,6 @@ SRCREV_FORMAT = "demo_lvgl"
EXTRA_OEMAKE = "DESTDIR=${D}"
-PACKAGECONFIG ??= "drm"
LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0"
LVGL_CONFIG_LV_USE_LOG = "1"
LVGL_CONFIG_LV_LOG_PRINTF = "1"
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
index 353d0002fa..0ebd6ec422 100644
--- a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
@@ -20,7 +20,6 @@ inherit cmake
EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON"
S = "${WORKDIR}/git"
-PACKAGECONFIG ??= "drm"
require lv-conf.inc
do_install:append() {