mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
lvgl: Add hints about using configuration variables
Relate-to: https://github.com/lvgl/lvgl/issues/2534 Forwarded: https://github.com/openembedded/meta-openembedded/pull/479 Signed-off-by: Philippe Coval <philippe.coval@huawei.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
c1968ea88c
commit
4aa6b803ed
@ -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" \
|
||||
|
||||
@ -23,6 +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' \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user