lvgl: Build shared library

Build LVGL as shared library instead of static library. In case
there are multiple applications linking against LVGL, this is more
efficient, and it also makes it possible to update only the LVGL
library separately from the applications.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Marek Vasut
2024-03-13 05:40:10 +01:00
committed by Khem Raj
parent 87e19a8c3d
commit 2054fda6d1
+1 -1
View File
@@ -14,7 +14,7 @@ PV .= "+git${SRCPV}"
inherit cmake
EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib}"
EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON"
S = "${WORKDIR}/git"
ALLOW_EMPTY:${PN} = "1"