lvgl: fix typo and install lv_conf.h
PATCH 1/1 lvgl: fix typo and install lv_conf.h
Signed-off-by Christophe Chapuis <[email protected]>
--- meta-oe/recipes-graphics/lvgl/lv-conf.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/lvgl/lv-conf.inc +6 -1
@@ -24,7 +24,7 @@ do_configure:append() { # If there is a configuration template, start from that [ -r "${S}/lv_conf_template.h" ] && cp -Lv "${S}/lv_conf_template.h" "${S}/lv_conf.h" - sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \ + sed -e "s|#if 0 .*Set it to \"1\" to enable content.*|#if 1 // Enabled by ${PN}|g" \ \ -e "s|\(^#define LV_USE_LINUX_DRM \).*|#define LV_USE_LINUX_DRM ${LVGL_CONFIG_USE_DRM}|g" \ \
@@ -52,3 +52,8 @@ do_configure:append() { \ -i "${S}/lv_conf.h" } + +do_install:append() { + install -d "${D}${includedir}/lvgl" + install -m 0644 "${S}/lv_conf.h" "${D}${includedir}/lvgl/lv_conf.h" +}
Signature · 1 line
2.44.0