From 88f0c663a567a29c611eca127620e24bb1d593b3 Mon Sep 17 00:00:00 2001 From: Philippe Coval <philippe.coval@huawei.com> Date: Mon, 18 Oct 2021 16:42:04 +0200 Subject: [PATCH] lv_drivers: Align to dunfell style Signed-off-by: Philippe Coval <philippe.coval@huawei.com> --- meta-oniro-staging/recipes-graphics/lvgl/lv-drivers_7.11.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oniro-staging/recipes-graphics/lvgl/lv-drivers_7.11.0.bb b/meta-oniro-staging/recipes-graphics/lvgl/lv-drivers_7.11.0.bb index 75031284..f4674e20 100644 --- a/meta-oniro-staging/recipes-graphics/lvgl/lv-drivers_7.11.0.bb +++ b/meta-oniro-staging/recipes-graphics/lvgl/lv-drivers_7.11.0.bb @@ -26,13 +26,13 @@ EXTRA_OECMAKE += "-Dinstall:BOOL=ON" TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" -do_configure:append() { +do_configure_append() { [ -r "${S}/lv_drv_conf.h" ] \ || sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \ -e "s|# define USE_WAYLAND 0|# define USE_WAYLAND 1|g" \ < "${S}/lv_drv_conf_template.h" > "${S}/lv_drv_conf.h" } -FILES:${PN}-dev += "\ +FILES_${PN}-dev += "\ ${includedir}/lvgl/lv_drivers/ \ " -- GitLab