diff options
| -rw-r--r-- | meta-oe/recipes-graphics/lvgl/lv-conf.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/lv-conf.inc b/meta-oe/recipes-graphics/lvgl/lv-conf.inc index 85c08b0d58..cb676ac62b 100644 --- a/meta-oe/recipes-graphics/lvgl/lv-conf.inc +++ b/meta-oe/recipes-graphics/lvgl/lv-conf.inc | |||
| @@ -14,6 +14,8 @@ LVGL_CONFIG_SDL_FULLSCREEN ?= "0" | |||
| 14 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" | 14 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" |
| 15 | LVGL_CONFIG_LV_COLOR_DEPTH ?= "32" | 15 | LVGL_CONFIG_LV_COLOR_DEPTH ?= "32" |
| 16 | 16 | ||
| 17 | DEBUG_BUILD ??= "0" | ||
| 18 | |||
| 17 | ALLOW_EMPTY:${PN} = "1" | 19 | ALLOW_EMPTY:${PN} = "1" |
| 18 | 20 | ||
| 19 | EXTRA_OECMAKE += "-Dinstall:BOOL=ON -DLIB_INSTALL_DIR=${baselib}" | 21 | EXTRA_OECMAKE += "-Dinstall:BOOL=ON -DLIB_INSTALL_DIR=${baselib}" |
| @@ -42,5 +44,11 @@ do_configure:append() { | |||
| 42 | \ | 44 | \ |
| 43 | -e "s|\(^#define LV_USE_EVDEV \).*|#define LV_USE_EVDEV ${LVGL_CONFIG_USE_EVDEV}|g" \ | 45 | -e "s|\(^#define LV_USE_EVDEV \).*|#define LV_USE_EVDEV ${LVGL_CONFIG_USE_EVDEV}|g" \ |
| 44 | \ | 46 | \ |
| 47 | -e "s|\(^#define LV_USE_ASSERT_NULL \).*|#define LV_USE_ASSERT_NULL ${DEBUG_BUILD}|g" \ | ||
| 48 | -e "s|\(^#define LV_USE_ASSERT_MALLOC \).*|#define LV_USE_ASSERT_MALLOC ${DEBUG_BUILD}|g" \ | ||
| 49 | -e "s|\(^#define LV_USE_ASSERT_STYLE \).*|#define LV_USE_ASSERT_STYLE ${DEBUG_BUILD}|g" \ | ||
| 50 | -e "s|\(^#define LV_USE_ASSERT_MEM_INTEGRITY \).*|#define LV_USE_ASSERT_MEM_INTEGRITY ${DEBUG_BUILD}|g" \ | ||
| 51 | -e "s|\(^#define LV_USE_ASSERT_OBJ \).*|#define LV_USE_ASSERT_OBJ ${DEBUG_BUILD}|g" \ | ||
| 52 | \ | ||
| 45 | -i "${S}/lv_conf.h" | 53 | -i "${S}/lv_conf.h" |
| 46 | } | 54 | } |
