| Message ID | 20251025031748.2728416-6-pkj@axis.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [meta-oe,1/9] python3-pcpp: Add recipe for https://github.com/ned14/pcpp | expand |
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 @@ +CONFIG_LV_COLOR_DEPTH_32=y +CONFIG_LV_MEM_SIZE_KILOBYTES=256 +CONFIG_LV_USE_LOG=y +CONFIG_LV_LOG_PRINTF=y +CONFIG_LV_USE_FONT_COMPRESSED=y +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" inherit cmake pkgconfig -LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0" -LVGL_CONFIG_LV_USE_LOG = "1" -LVGL_CONFIG_LV_LOG_PRINTF = "1" -LVGL_CONFIG_LV_MEM_SIZE = "(256 * 1024U)" -LVGL_CONFIG_LV_USE_FONT_COMPRESSED = "1" require lv-conf.inc +KCONFIG_CONFIG_ROOTDIR = "${S}/lvgl" + do_install() { install -d ${D}${bindir} install -m 0755 ${B}/bin/lvglsim ${D}${bindir}
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> --- meta-oe/recipes-graphics/lvgl/lvgl-demo-fb/defconfig | 6 ++++++ meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.4.0.bb | 7 ++----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 meta-oe/recipes-graphics/lvgl/lvgl-demo-fb/defconfig