diff options
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lv-drivers.inc | 40 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lv-drivers_8.3.0.bb | 28 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb | 31 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_8.3.0.bb | 46 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb | 49 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lvgl_8.3.11.bb | 44 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb | 28 |
7 files changed, 95 insertions, 171 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/lv-drivers.inc b/meta-oe/recipes-graphics/lvgl/lv-drivers.inc index 6cfb7fa07..97063adbc 100644 --- a/meta-oe/recipes-graphics/lvgl/lv-drivers.inc +++ b/meta-oe/recipes-graphics/lvgl/lv-drivers.inc | |||
@@ -1,21 +1,17 @@ | |||
1 | PACKAGECONFIG[drm] = ",,libdrm" | 1 | PACKAGECONFIG[drm] = ",,libdrm" |
2 | PACKAGECONFIG[fbdev] = ",," | 2 | PACKAGECONFIG[fbdev] = ",," |
3 | PACKAGECONFIG[sdl] = ",,virtual/libsdl2" | 3 | PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image" |
4 | PACKAGECONFIG[wayland] = ",,libxkbcommon wayland" | ||
5 | 4 | ||
6 | LVGL_CONFIG_USE_DRM = "${@bb.utils.contains('PACKAGECONFIG', 'drm', '1', '0', d)}" | 5 | LVGL_CONFIG_USE_DRM = "${@bb.utils.contains('PACKAGECONFIG', 'drm', '1', '0', d)}" |
7 | LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0" | ||
8 | 6 | ||
9 | LVGL_CONFIG_USE_EVDEV = "${@bb.utils.contains_any('PACKAGECONFIG', 'drm fbdev', '1', '0', d)}" | 7 | LVGL_CONFIG_USE_EVDEV = "${@bb.utils.contains_any('PACKAGECONFIG', 'drm fbdev', '1', '0', d)}" |
10 | LVGL_CONFIG_EVDEV_INPUT ?= "/dev/input/touchscreen" | ||
11 | 8 | ||
12 | LVGL_CONFIG_USE_FBDEV = "${@bb.utils.contains('PACKAGECONFIG', 'fbdev', '1', '0', d)}" | 9 | LVGL_CONFIG_USE_FBDEV = "${@bb.utils.contains('PACKAGECONFIG', 'fbdev', '1', '0', d)}" |
13 | 10 | ||
14 | LVGL_CONFIG_USE_SDL = "${@bb.utils.contains('PACKAGECONFIG', 'sdl', '1', '0', d)}" | 11 | LVGL_CONFIG_USE_SDL = "${@bb.utils.contains('PACKAGECONFIG', 'sdl', '1', '0', d)}" |
15 | 12 | ||
16 | LVGL_CONFIG_USE_WAYLAND = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', '1', '0', d)}" | 13 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" |
17 | LVGL_CONFIG_WAYLAND_HOR_RES ?= "480" | 14 | LVGL_CONFIG_LV_COLOR_DEPTH ?= "32" |
18 | LVGL_CONFIG_WAYLAND_VER_RES ?= "320" | ||
19 | 15 | ||
20 | ALLOW_EMPTY:${PN} = "1" | 16 | ALLOW_EMPTY:${PN} = "1" |
21 | 17 | ||
@@ -23,26 +19,26 @@ EXTRA_OECMAKE += "-Dinstall:BOOL=ON -DLIB_INSTALL_DIR=${baselib}" | |||
23 | 19 | ||
24 | do_configure:append() { | 20 | do_configure:append() { |
25 | # If there is a configuration template, start from that | 21 | # If there is a configuration template, start from that |
26 | [ -r "${S}/lv_drv_conf_template.h" ] && cp -Lv "${S}/lv_drv_conf_template.h" "${S}/lv_drv_conf.h" | 22 | [ -r "${S}/lv_conf_template.h" ] && cp -Lv "${S}/lv_conf_template.h" "${S}/lv_conf.h" |
27 | 23 | ||
28 | # Configure the software using sed | ||
29 | sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \ | 24 | sed -e "s|#if 0 .*Set it to \"1\" to enable the content.*|#if 1 // Enabled by ${PN}|g" \ |
30 | \ | 25 | \ |
31 | -e "s|\(^# define USE_DRM \).*|# define USE_DRM ${LVGL_CONFIG_USE_DRM}|g" \ | 26 | -e "s|\(^#define LV_USE_LINUX_DRM \).*|#define LV_USE_LINUX_DRM ${LVGL_CONFIG_USE_DRM}|g" \ |
32 | -e "s|\(^# define DRM_CARD \).*|# define DRM_CARD \"${LVGL_CONFIG_DRM_CARD}\"|g" \ | ||
33 | \ | ||
34 | -e "s|\(^# define USE_EVDEV \).*|# define USE_EVDEV ${LVGL_CONFIG_USE_EVDEV}|g" \ | ||
35 | -e "s|\(^# define EVDEV_NAME \).*|# define EVDEV_NAME \"${LVGL_CONFIG_EVDEV_INPUT}\"|g" \ | ||
36 | \ | 27 | \ |
37 | -e "s|\(^# define USE_FBDEV \).*|# define USE_FBDEV ${LVGL_CONFIG_USE_FBDEV}|g" \ | 28 | -e "s|\(^#define LV_USE_LINUX_FBDEV \).*|#define LV_USE_LINUX_FBDEV ${LVGL_CONFIG_USE_FBDEV}|g" \ |
38 | \ | 29 | \ |
39 | -e "s|\(^# define USE_SDL \).*|# define USE_SDL ${LVGL_CONFIG_USE_SDL}|g" \ | 30 | -e "s|\(^#define LV_USE_SDL \).*|#define LV_USE_SDL ${LVGL_CONFIG_USE_SDL}|g" \ |
40 | -e "s|\(^# define USE_SDL_GPU \).*|# define USE_SDL_GPU 1|g" \ | 31 | -e "s|\(^#define LV_USE_DRAW_SDL \).*|#define LV_USE_DRAW_SDL ${LVGL_CONFIG_USE_SDL}|g" \ |
41 | -e "s|\(^# define SDL_DOUBLE_BUFFERED \).*|# define SDL_DOUBLE_BUFFERED 1|g" \ | 32 | -e "s|\(^ #define LV_SDL_BUF_COUNT \).*| #define LV_SDL_BUF_COUNT 2|g" \ |
42 | \ | 33 | \ |
43 | -e "s|\(^# define USE_WAYLAND \).*|# define USE_WAYLAND ${LVGL_CONFIG_USE_WAYLAND}|g" \ | 34 | -e "s|\(^#define LV_COLOR_DEPTH \).*|#define LV_COLOR_DEPTH ${LVGL_CONFIG_LV_COLOR_DEPTH}|g" \ |
44 | -e "s|\(^ *# *define *WAYLAND_HOR_RES *\).*|\1${LVGL_CONFIG_WAYLAND_HOR_RES}|g" \ | 35 | -e "s|\(#define LV_MEM_CUSTOM .*\)0|\1${LVGL_CONFIG_LV_MEM_CUSTOM}|g" \ |
45 | -e "s|\(^ *# *define *WAYLAND_VER_RES *\).*|\1${LVGL_CONFIG_WAYLAND_VER_RES}|g" \ | ||
46 | \ | 36 | \ |
47 | -i "${S}/lv_drv_conf.h" | 37 | -e "s|\(#define LV_TICK_CUSTOM \).*|\1 1|g" \ |
38 | -e "s|\(#define LV_TICK_CUSTOM_INCLUDE \).*|\1 <stdint.h>|g" \ | ||
39 | -e "s|\(#define LV_TICK_CUSTOM_SYS_TIME_EXPR \).*|extern uint32_t custom_tick_get(void);\n\1 (custom_tick_get())|g" \ | ||
40 | \ | ||
41 | -e "s|\(^#define LV_USE_EVDEV \).*|#define LV_USE_EVDEV ${LVGL_CONFIG_USE_EVDEV}|g" \ | ||
42 | \ | ||
43 | -i "${S}/lv_conf.h" | ||
48 | } | 44 | } |
diff --git a/meta-oe/recipes-graphics/lvgl/lv-drivers_8.3.0.bb b/meta-oe/recipes-graphics/lvgl/lv-drivers_8.3.0.bb deleted file mode 100644 index e2c5a342a..000000000 --- a/meta-oe/recipes-graphics/lvgl/lv-drivers_8.3.0.bb +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | # SPDX-FileCopyrightText: Huawei Inc. | ||
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | |||
5 | HOMEPAGE = "https://docs.lvgl.io/latest/en/html/porting/index.html" | ||
6 | SUMMARY = "LVGL's Display and Touch pad drivers" | ||
7 | DESCRIPTION = "Collection of drivers: SDL, framebuffer, wayland and more..." | ||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" | ||
10 | |||
11 | SRC_URI = "git://github.com/lvgl/lv_drivers;protocol=https;branch=release/v8.3" | ||
12 | SRCREV = "71830257710f430b6d8d1c324f89f2eab52488f1" | ||
13 | |||
14 | DEPENDS = "lvgl" | ||
15 | |||
16 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland fbdev', d)}" | ||
17 | require lv-drivers.inc | ||
18 | |||
19 | inherit cmake | ||
20 | |||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" | ||
24 | TARGET_CFLAGS += "-I${STAGING_INCDIR}/lvgl" | ||
25 | |||
26 | FILES:${PN}-dev += "\ | ||
27 | ${includedir}/lvgl/lv_drivers/ \ | ||
28 | " | ||
diff --git a/meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb b/meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb deleted file mode 100644 index 0049bbe23..000000000 --- a/meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | # SPDX-FileCopyrightText: Huawei Inc. | ||
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | |||
5 | HOMEPAGE = "https://docs.lvgl.io" | ||
6 | SUMMARY = "PNG decoder for LVGL" | ||
7 | DESCRIPTION = "Allow the use of PNG images in LVGL. This implementation uses lodepng" | ||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2" | ||
10 | |||
11 | SRC_URI = "git://github.com/lvgl/lv_lib_png;;protocol=https;branch=master" | ||
12 | SRCREV = "bf1531afe07c9f861107559e29ab8a2d83e4715a" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | # because of lvgl dependency | ||
17 | REQUIRED_DISTRO_FEATURES = "wayland" | ||
18 | |||
19 | DEPENDS += "lvgl" | ||
20 | |||
21 | EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${baselib}" | ||
22 | |||
23 | inherit cmake | ||
24 | inherit features_check | ||
25 | |||
26 | TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1" | ||
27 | TARGET_CFLAGS += "-I${STAGING_INCDIR}/lvgl" | ||
28 | |||
29 | FILES:${PN}-dev = "\ | ||
30 | ${includedir}/lvgl/lv_lib_png/ \ | ||
31 | " | ||
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_8.3.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_8.3.0.bb deleted file mode 100644 index 32f833a02..000000000 --- a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_8.3.0.bb +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | SUMMARY = "LVGL Demo Application for Framebuffer" | ||
2 | HOMEPAGE = "https://github.com/lvgl/lv_port_linux_frame_buffer" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=802d3d83ae80ef5f343050bf96cce3a4 \ | ||
5 | file://lv_drivers/LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2 \ | ||
6 | file://lvgl/LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" | ||
7 | |||
8 | SRC_URI = "gitsm://github.com/lvgl/lv_port_linux_frame_buffer.git;branch=master;protocol=https" | ||
9 | SRCREV = "adf2c4490e17a1b9ec1902cc412a24b3b8235c8e" | ||
10 | |||
11 | EXTRA_OEMAKE = "DESTDIR=${D}" | ||
12 | |||
13 | PACKAGECONFIG ??= "drm" | ||
14 | require lv-drivers.inc | ||
15 | |||
16 | inherit cmake | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | TARGET_CFLAGS += "-I${STAGING_INCDIR}/libdrm" | ||
21 | |||
22 | do_configure:prepend() { | ||
23 | if [ "${LVGL_CONFIG_USE_DRM}" -eq 1 ] ; then | ||
24 | # Add libdrm build dependency | ||
25 | sed -i '/^target_link_libraries/ s@lvgl::drivers@& drm@' "${S}/CMakeLists.txt" | ||
26 | # Switch from fbdev to drm usage | ||
27 | sed -i 's@fbdev@drm@g' "${S}/main.c" | ||
28 | # Pull resolution from DRM instead of hardcoding it | ||
29 | sed -i '/disp_drv.hor_res/ d' "${S}/main.c" | ||
30 | sed -i '/disp_drv.ver_res/ s@disp_drv.ver_res.*@drm_get_sizes(\&disp_drv.hor_res, \&disp_drv.ver_res, NULL);@' "${S}/main.c" | ||
31 | fi | ||
32 | |||
33 | if [ "${LVGL_CONFIG_USE_SDL}" -eq 1 ] ; then | ||
34 | # Add libsdl build dependency | ||
35 | sed -i '/^target_link_libraries/ s@lvgl::drivers@& SDL2@' "${S}/CMakeLists.txt" | ||
36 | # Switch from fbdev to sdl usage | ||
37 | sed -i 's@fbdev_flush@sdl_display_flush@g' "${S}/main.c" | ||
38 | sed -i 's@lv_drivers/display/fbdev.h@lv_drivers/sdl/sdl.h@g' "${S}/main.c" | ||
39 | sed -i 's@fbdev@sdl@g' "${S}/main.c" | ||
40 | fi | ||
41 | } | ||
42 | |||
43 | do_install:append() { | ||
44 | install -d ${D}${bindir} | ||
45 | install -m 0755 ${B}/lvgl_fb ${D}${bindir}/ | ||
46 | } | ||
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb new file mode 100644 index 000000000..fc675a518 --- /dev/null +++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | SUMMARY = "LVGL Demo Application for Framebuffer" | ||
2 | HOMEPAGE = "https://github.com/lvgl/lv_port_linux_frame_buffer" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=802d3d83ae80ef5f343050bf96cce3a4 \ | ||
5 | file://lvgl/LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" | ||
6 | |||
7 | SRC_URI = "\ | ||
8 | git://github.com/lvgl/lv_port_linux_frame_buffer.git;protocol=https;branch=master;name=demo \ | ||
9 | git://github.com/lvgl/lvgl;protocol=https;branch=master;name=lvgl;subdir=git/lvgl \ | ||
10 | " | ||
11 | SRCREV_demo = "dccc6a1ca48372aa993dbea7a8e17dec6f42df6a" | ||
12 | SRCREV_lvgl = "e29d35b43c509b6d7189f5dac87139441669ae66" | ||
13 | SRCREV_FORMAT = "demo_lvgl" | ||
14 | PV .= "+git${SRCPV}" | ||
15 | |||
16 | EXTRA_OEMAKE = "DESTDIR=${D}" | ||
17 | |||
18 | PACKAGECONFIG ??= "drm" | ||
19 | LVGL_CONFIG_DRM_CARD ?= "/dev/dri/card0" | ||
20 | require lv-drivers.inc | ||
21 | |||
22 | inherit cmake | ||
23 | |||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | TARGET_CFLAGS += "-I${STAGING_INCDIR}/libdrm" | ||
27 | |||
28 | do_configure:prepend() { | ||
29 | if [ "${LVGL_CONFIG_USE_DRM}" -eq 1 ] ; then | ||
30 | # Add libdrm build dependency | ||
31 | sed -i '/^target_link_libraries/ s@pthread@& drm@' "${S}/CMakeLists.txt" | ||
32 | # Switch from fbdev to drm usage | ||
33 | sed -i "s@lv_linux_fbdev_set_file.*@lv_linux_drm_set_file(disp, \"${LVGL_CONFIG_DRM_CARD}\", -1);@g" "${S}/main.c" | ||
34 | sed -i 's@fbdev@drm@g' "${S}/main.c" | ||
35 | fi | ||
36 | |||
37 | if [ "${LVGL_CONFIG_USE_SDL}" -eq 1 ] ; then | ||
38 | # Add libsdl build dependency | ||
39 | sed -i '/^target_link_libraries/ s@pthread@& SDL2 SDL2_image@' "${S}/CMakeLists.txt" | ||
40 | # Switch from fbdev to sdl usage | ||
41 | sed -i 's@lv_linux_fbdev_create()@lv_sdl_window_create(atoi(getenv("LV_VIDEO_WIDTH") ? : "800"), atoi(getenv("LV_VIDEO_HEIGHT") ? : "480"))@g' "${S}/main.c" | ||
42 | sed -i '/lv_linux_fbdev_set_file/ d' "${S}/main.c" | ||
43 | fi | ||
44 | } | ||
45 | |||
46 | do_install:append() { | ||
47 | install -d ${D}${bindir} | ||
48 | install -m 0755 ${S}/bin/main ${D}${bindir}/lvgl | ||
49 | } | ||
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_8.3.11.bb b/meta-oe/recipes-graphics/lvgl/lvgl_8.3.11.bb deleted file mode 100644 index 252368061..000000000 --- a/meta-oe/recipes-graphics/lvgl/lvgl_8.3.11.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | # SPDX-FileCopyrightText: Huawei Inc. | ||
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | |||
5 | HOMEPAGE = "https://lvgl.io/" | ||
6 | DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI" | ||
7 | SUMMARY = "Light and Versatile Graphics Library" | ||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" | ||
10 | |||
11 | SRC_URI = "git://github.com/lvgl/lvgl;protocol=https;branch=release/v8.3" | ||
12 | SRCREV = "74d0a816a440eea53e030c4f1af842a94f7ce3d3" | ||
13 | |||
14 | inherit cmake | ||
15 | |||
16 | EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib}" | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | ALLOW_EMPTY:${PN} = "1" | ||
20 | |||
21 | LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" | ||
22 | LVGL_CONFIG_LV_COLOR_DEPTH ?= "32" | ||
23 | |||
24 | # Upstream does not support a default configuration | ||
25 | # but propose a default "disabled" template, which is used as reference | ||
26 | # More configuration can be done using external configuration variables | ||
27 | do_configure:prepend() { | ||
28 | [ -r "${S}/lv_conf.h" ] \ | ||
29 | || sed -e 's|#if 0 .*Set it to "1" to enable .*|#if 1 // Enabled|g' \ | ||
30 | -e "s|\(#define LV_COLOR_DEPTH \).*|\1 ${LVGL_CONFIG_LV_COLOR_DEPTH}|g" \ | ||
31 | \ | ||
32 | -e "s|\(#define LV_MEM_CUSTOM .*\)0|\1${LVGL_CONFIG_LV_MEM_CUSTOM}|g" \ | ||
33 | \ | ||
34 | -e "s|\(#define LV_TICK_CUSTOM \).*|\1 1|g" \ | ||
35 | -e "s|\(#define LV_TICK_CUSTOM_INCLUDE \).*|\1 <stdint.h>|g" \ | ||
36 | -e "s|\(#define LV_TICK_CUSTOM_SYS_TIME_EXPR \).*|extern uint32_t custom_tick_get(void);\n\1 (custom_tick_get())|g" \ | ||
37 | \ | ||
38 | < "${S}/lv_conf_template.h" > "${S}/lv_conf.h" | ||
39 | } | ||
40 | |||
41 | FILES:${PN}-dev += "\ | ||
42 | ${includedir}/${PN}/ \ | ||
43 | ${includedir}/${PN}/lvgl/ \ | ||
44 | " | ||
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb new file mode 100644 index 000000000..d8ed4ec81 --- /dev/null +++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | # SPDX-FileCopyrightText: Huawei Inc. | ||
2 | # | ||
3 | # SPDX-License-Identifier: MIT | ||
4 | |||
5 | HOMEPAGE = "https://lvgl.io/" | ||
6 | DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI" | ||
7 | SUMMARY = "Light and Versatile Graphics Library" | ||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" | ||
10 | |||
11 | SRC_URI = "git://github.com/lvgl/lvgl;protocol=https;branch=master" | ||
12 | SRCREV = "e29d35b43c509b6d7189f5dac87139441669ae66" | ||
13 | PV .= "+git${SRCPV}" | ||
14 | |||
15 | inherit cmake | ||
16 | |||
17 | EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib}" | ||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | ALLOW_EMPTY:${PN} = "1" | ||
21 | |||
22 | PACKAGECONFIG ??= "drm" | ||
23 | require lv-drivers.inc | ||
24 | |||
25 | FILES:${PN}-dev += "\ | ||
26 | ${includedir}/${PN}/ \ | ||
27 | ${includedir}/${PN}/lvgl/ \ | ||
28 | " | ||