mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
1c1c5c5633
commit
0df1a91b39
6
meta-oe/recipes-graphics/lvgl/lvgl-demo-fb/defconfig
Normal file
6
meta-oe/recipes-graphics/lvgl/lvgl-demo-fb/defconfig
Normal file
|
|
@ -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
|
||||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user