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 f4674e20d62decfd7f8020ec66ee2712f9371f75..df0f5d5c76b78b12f3570eedfe79ccaecfefb7fe 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,6 +26,9 @@ EXTRA_OECMAKE += "-Dinstall:BOOL=ON" TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" +# Upstream does not support a default configuration +# but propose a default "disabled" template, which is used as reference +# More configuration can be done using external configuration variables 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" \ diff --git a/meta-oniro-staging/recipes-graphics/lvgl/lvgl_8.0.3.bb b/meta-oniro-staging/recipes-graphics/lvgl/lvgl_8.0.3.bb index 5acffd194252ac9d12e3f004a1fd971ab26e0973..c5b828e662e27c783d8d8f1ca831e4e265828622 100644 --- a/meta-oniro-staging/recipes-graphics/lvgl/lvgl_8.0.3.bb +++ b/meta-oniro-staging/recipes-graphics/lvgl/lvgl_8.0.3.bb @@ -23,7 +23,9 @@ EXTRA_OECMAKE += "-Dinstall:BOOL=ON" LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" - +# Upstream does not support a default configuration +# but propose a default "disabled" template, which is used as reference +# More configuration can be done using external configuration variables do_configure_prepend() { [ -r "${S}/lv_conf.h" ] \ || sed -e 's|#if 0 .*Set it to "1" to enable .*|#if 1 // Enabled|g' \