blob: e2c5a342a12767efbadcfd331c51af3e2b6608c1 [file] [log] [blame]
Andrew Geisslereff27472021-10-29 15:35:00 -05001# SPDX-FileCopyrightText: Huawei Inc.
Andrew Geissler595f6302022-01-24 19:11:47 +00002#
Andrew Geisslereff27472021-10-29 15:35:00 -05003# SPDX-License-Identifier: MIT
4
Andrew Geisslereff27472021-10-29 15:35:00 -05005HOMEPAGE = "https://docs.lvgl.io/latest/en/html/porting/index.html"
6SUMMARY = "LVGL's Display and Touch pad drivers"
7DESCRIPTION = "Collection of drivers: SDL, framebuffer, wayland and more..."
Andrew Geissler595f6302022-01-24 19:11:47 +00008LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
Andrew Geisslereff27472021-10-29 15:35:00 -050010
Andrew Geissler3eeda902023-05-19 10:14:02 -050011SRC_URI = "git://github.com/lvgl/lv_drivers;protocol=https;branch=release/v8.3"
12SRCREV = "71830257710f430b6d8d1c324f89f2eab52488f1"
Andrew Geissler595f6302022-01-24 19:11:47 +000013
Andrew Geissler3eeda902023-05-19 10:14:02 -050014DEPENDS = "lvgl"
Andrew Geisslereff27472021-10-29 15:35:00 -050015
Andrew Geissler3eeda902023-05-19 10:14:02 -050016PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland fbdev', d)}"
Andrew Geissler8f840682023-07-21 09:09:43 -050017require lv-drivers.inc
Andrew Geisslereff27472021-10-29 15:35:00 -050018
19inherit cmake
Andrew Geisslereff27472021-10-29 15:35:00 -050020
Patrick Williams8e7b46e2023-05-01 14:19:06 -050021S = "${WORKDIR}/git"
Andrew Geisslereff27472021-10-29 15:35:00 -050022
Andrew Geisslereff27472021-10-29 15:35:00 -050023TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1"
Patrick Williams8e7b46e2023-05-01 14:19:06 -050024TARGET_CFLAGS += "-I${STAGING_INCDIR}/lvgl"
Andrew Geisslereff27472021-10-29 15:35:00 -050025
Andrew Geissler595f6302022-01-24 19:11:47 +000026FILES:${PN}-dev += "\
Andrew Geisslereff27472021-10-29 15:35:00 -050027 ${includedir}/lvgl/lv_drivers/ \
28 "