summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/lvgl
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2025-10-25 05:17:45 +0200
committerKhem Raj <raj.khem@gmail.com>2025-10-24 20:41:20 -0700
commit0df1a91b39876aacea1174abb769389d177ae539 (patch)
tree9085cddab435a6f60b3522f8606c8a1c597ba83a /meta-oe/recipes-graphics/lvgl
parent1c1c5c5633663565eb9683dd2517a5fb55aa4b30 (diff)
downloadmeta-openembedded-0df1a91b39876aacea1174abb769389d177ae539.tar.gz
lvgl-demo-fb: Use Kconfig to configure
This switches the recipe from manipulating the lv_conf.h file directly, to instead using Kconfig to configure lvgl-demo-fb. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/lvgl')
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl-demo-fb/defconfig6
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.4.0.bb7
2 files changed, 8 insertions, 5 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb/defconfig b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb/defconfig
new file mode 100644
index 0000000000..9d4ffa9b40
--- /dev/null
+++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb/defconfig
@@ -0,0 +1,6 @@
1CONFIG_LV_COLOR_DEPTH_32=y
2CONFIG_LV_MEM_SIZE_KILOBYTES=256
3CONFIG_LV_USE_LOG=y
4CONFIG_LV_LOG_PRINTF=y
5CONFIG_LV_USE_FONT_COMPRESSED=y
6CONFIG_LV_USE_DEMO_WIDGETS=y
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.4.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.4.0.bb
index 3185d37c5c..660031b68f 100644
--- a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.4.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.4.0.bb
@@ -20,13 +20,10 @@ SRCREV_FORMAT = "demo_lvgl"
20 20
21inherit cmake pkgconfig 21inherit cmake pkgconfig
22 22
23LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0"
24LVGL_CONFIG_LV_USE_LOG = "1"
25LVGL_CONFIG_LV_LOG_PRINTF = "1"
26LVGL_CONFIG_LV_MEM_SIZE = "(256 * 1024U)"
27LVGL_CONFIG_LV_USE_FONT_COMPRESSED = "1"
28require lv-conf.inc 23require lv-conf.inc
29 24
25KCONFIG_CONFIG_ROOTDIR = "${S}/lvgl"
26
30do_install() { 27do_install() {
31 install -d ${D}${bindir} 28 install -d ${D}${bindir}
32 install -m 0755 ${B}/bin/lvglsim ${D}${bindir} 29 install -m 0755 ${B}/bin/lvglsim ${D}${bindir}