diff options
| author | Peter Kjellerstedt <pkj@axis.com> | 2025-10-25 05:17:45 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-10-24 20:41:20 -0700 |
| commit | 0df1a91b39876aacea1174abb769389d177ae539 (patch) | |
| tree | 9085cddab435a6f60b3522f8606c8a1c597ba83a /meta-oe/recipes-graphics/lvgl | |
| parent | 1c1c5c5633663565eb9683dd2517a5fb55aa4b30 (diff) | |
| download | meta-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/defconfig | 6 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.4.0.bb | 7 |
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 @@ | |||
| 1 | CONFIG_LV_COLOR_DEPTH_32=y | ||
| 2 | CONFIG_LV_MEM_SIZE_KILOBYTES=256 | ||
| 3 | CONFIG_LV_USE_LOG=y | ||
| 4 | CONFIG_LV_LOG_PRINTF=y | ||
| 5 | CONFIG_LV_USE_FONT_COMPRESSED=y | ||
| 6 | CONFIG_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 | ||
| 21 | inherit cmake pkgconfig | 21 | inherit cmake pkgconfig |
| 22 | 22 | ||
| 23 | LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0" | ||
| 24 | LVGL_CONFIG_LV_USE_LOG = "1" | ||
| 25 | LVGL_CONFIG_LV_LOG_PRINTF = "1" | ||
| 26 | LVGL_CONFIG_LV_MEM_SIZE = "(256 * 1024U)" | ||
| 27 | LVGL_CONFIG_LV_USE_FONT_COMPRESSED = "1" | ||
| 28 | require lv-conf.inc | 23 | require lv-conf.inc |
| 29 | 24 | ||
| 25 | KCONFIG_CONFIG_ROOTDIR = "${S}/lvgl" | ||
| 26 | |||
| 30 | do_install() { | 27 | do_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} |
