1################################################################################ 2# 3# lv_drivers 4# 5################################################################################ 6 7LV_DRIVERS_VERSION = 8.3.0 8LV_DRIVERS_SITE = $(call github,lvgl,lv_drivers,v$(LV_DRIVERS_VERSION)) 9LV_DRIVERS_INSTALL_STAGING = YES 10 11LV_DRIVERS_DEPENDENCIES = lvgl 12 13ifeq ($(BR2_PACKAGE_LV_DRIVERS_USE_SDL_GPU), y) 14LV_DRIVERS_CONF_OPTS += -DLV_DRV_USE_SDL_GPU=1 15LV_DRIVERS_DEPENDENCIES += sdl2 16endif 17 18ifeq ($(BR2_PACKAGE_LV_DRIVERS_USE_DRM), y) 19LV_DRIVERS_CONF_OPTS += -DLV_DRV_USE_DRM=1 20LV_DRIVERS_DEPENDENCIES += libdrm 21endif 22 23ifeq ($(BR2_PACKAGE_LV_DRIVERS_USE_RGA), y) 24LV_DRIVERS_CONF_OPTS += -DLV_DRV_USE_RGA=1 25LV_DRIVERS_DEPENDENCIES += rockchip-rga 26endif 27 28LV_DRIVERS_CONF_OPTS += -DLV_COLOR_DEPTH=$(BR2_PACKAGE_LVGL_COLOR_DEPTH) 29ifeq ($(BR2_PACKAGE_LVGL_COLOR_16_SWAP), y) 30LV_DRIVERS_CONF_OPTS += -DLV_COLOR_16_SWAP=1 31else 32LV_DRIVERS_CONF_OPTS += -DLV_COLOR_16_SWAP=0 33endif 34 35$(eval $(cmake-package)) 36