lvgl,lv-lib-png,lv-drivers: Pass libdir via LIB_INSTALL_DIR to cmake

Ensures it packages correclty on all platforms e.g. pp64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2022-03-19 21:41:46 -07:00
parent 7dc09c7aa5
commit ed2cb1735a
3 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,7 @@ S = "${WORKDIR}/${PN}-${PV}"
LVGL_CONFIG_WAYLAND_HOR_RES ?= "480"
LVGL_CONFIG_WAYLAND_VER_RES ?= "320"
EXTRA_OECMAKE += "-Dinstall:BOOL=ON"
EXTRA_OECMAKE += "-Dinstall:BOOL=ON -DLIB_INSTALL_DIR=${BASELIB}"
TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1"
TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl"

View File

@ -16,6 +16,8 @@ REQUIRED_DISTRO_FEATURES = "wayland"
DEPENDS += "lvgl"
EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${BASELIB}"
inherit cmake
inherit features_check

View File

@ -16,6 +16,7 @@ REQUIRED_DISTRO_FEATURES = "wayland"
inherit cmake
inherit features_check
EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${BASELIB}"
S = "${WORKDIR}/${PN}-${PV}"
LVGL_CONFIG_LV_MEM_CUSTOM ?= "0"