diff options
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb | 3 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb b/meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb index 750312844a..7e0a980d23 100644 --- a/meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb +++ b/meta-oe/recipes-graphics/lvgl/lv-drivers_7.11.0.bb | |||
@@ -26,6 +26,9 @@ EXTRA_OECMAKE += "-Dinstall:BOOL=ON" | |||
26 | TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" | 26 | TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" |
27 | TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" | 27 | TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl" |
28 | 28 | ||
29 | # Upstream does not support a default configuration | ||
30 | # but propose a default "disabled" template, which is used as reference | ||
31 | # More configuration can be done using external configuration variables | ||
29 | do_configure:append() { | 32 | do_configure:append() { |
30 | [ -r "${S}/lv_drv_conf.h" ] \ | 33 | [ -r "${S}/lv_drv_conf.h" ] \ |
31 | || sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \ | 34 | || sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \ |
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb b/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb index 53ae7d90f9..0e0bd69420 100644 --- a/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb +++ b/meta-oe/recipes-graphics/lvgl/lvgl_8.0.3.bb | |||
@@ -23,6 +23,9 @@ EXTRA_OECMAKE += "-Dinstall:BOOL=ON" | |||
23 | 23 | ||
24 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" | 24 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" |
25 | 25 | ||
26 | # Upstream does not support a default configuration | ||
27 | # but propose a default "disabled" template, which is used as reference | ||
28 | # More configuration can be done using external configuration variables | ||
26 | do_configure:prepend() { | 29 | do_configure:prepend() { |
27 | [ -r "${S}/lv_conf.h" ] \ | 30 | [ -r "${S}/lv_conf.h" ] \ |
28 | || sed -e 's|#if 0 .*Set it to "1" to enable .*|#if 1 // Enabled|g' \ | 31 | || sed -e 's|#if 0 .*Set it to "1" to enable .*|#if 1 // Enabled|g' \ |