Skip to contentSkip to conversation

lvgl: Drop superfluous ALLOW_EMPTY

PATCH New Marek Vasut 1 participant 3 messages Mar 22, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 lvgl: Drop superfluous ALLOW_EMPTY

This ALLOW_EMPTY was a workaround for LVGL built as static library. The lvgl is now built as shared library, drop this remnant.

---
Cc: Christophe Chapuis <[email protected]>
Cc: Khem Raj <[email protected]>
Cc: Martin Jansa <[email protected]>

---
 meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb | 2 --
 1 file changed, 2 deletions(-)
meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb +0 -2
index fc967e6d1..304068399 100644
@@ -21,8 +21,6 @@ inherit cmake
 EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON"
 S = "${WORKDIR}/git"
 
-ALLOW_EMPTY:${PN} = "1"
-
 PACKAGECONFIG ??= "drm"
 require lv-conf.inc
 
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/3 lvgl: Drop unnecessary PV append

The PV has been appended because the source has been pulled from git as of specific revision past 9.0.1 release of LVGL. The current source is pulled as of tagged release 9.1.0, drop the extra git suffix.

---
Cc: Christophe Chapuis <[email protected]>
Cc: Khem Raj <[email protected]>
Cc: Martin Jansa <[email protected]>

---
 meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb | 1 -
 meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb         | 1 -
 2 files changed, 2 deletions(-)
meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb +0 -1
index 542b70ea2..2bf56e293 100644
@@ -17,7 +17,6 @@ SRC_URI = "\
 SRCREV_demo = "dccc6a1ca48372aa993dbea7a8e17dec6f42df6a"
 SRCREV_lvgl = "e1c0b21b2723d391b885de4b2ee5cc997eccca91"
 SRCREV_FORMAT = "demo_lvgl"
-PV .= "+git${SRCPV}"
 
 EXTRA_OEMAKE = "DESTDIR=${D}"
 
meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb +0 -1
index 304068399..353d0002f 100644
@@ -14,7 +14,6 @@ SRC_URI = "\
 	file://0007-fix-cmake-generate-versioned-shared-libraries.patch \
 	"
 SRCREV = "e1c0b21b2723d391b885de4b2ee5cc997eccca91"
-PV .= "+git${SRCPV}"
 
 inherit cmake
 
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/3 lvgl: Deduplicate PACKAGECONFIG into lv-conf

In reply to Marek Vasut

Move the default PACKAGECONFIG setting from both recipes into lv-conf.inc to avoid duplication. No functional change.

---
Cc: Christophe Chapuis <[email protected]>
Cc: Khem Raj <[email protected]>
Cc: Martin Jansa <[email protected]>

---
 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(-)
meta-oe/recipes-graphics/lvgl/lv-conf.inc +2 -0
index 8596790ae..8fd3412c0 100644
@@ -1,3 +1,5 @@
+PACKAGECONFIG ??= "drm"
+
 PACKAGECONFIG[drm] = ",,libdrm"
 PACKAGECONFIG[fbdev] = ",,"
 PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image"
meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb +0 -1
index 2bf56e293..3fc3f9286 100644
@@ -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"
meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb +0 -1
index 353d0002f..0ebd6ec42 100644
@@ -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() {
Signature · 1 line
2.43.0