Message ID | 20240322204951.43007-3-marex@denx.de |
---|---|
State | Accepted |
Headers | show |
Series | [meta-oe,1/3] lvgl: Drop superfluous ALLOW_EMPTY | expand |
diff --git a/meta-oe/recipes-graphics/lvgl/lv-conf.inc b/meta-oe/recipes-graphics/lvgl/lv-conf.inc index 8596790ae..8fd3412c0 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 2bf56e293..3fc3f9286 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 353d0002f..0ebd6ec42 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() {
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> --- Cc: Christophe Chapuis <chris.chapuis@gmail.com> Cc: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <martin.jansa@gmail.com> --- meta-oe/recipes-graphics/lvgl/lv-conf.inc | 2 ++ meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb | 1 - meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb | 1 - 3 files changed, 2 insertions(+), 2 deletions(-)