ecore_drm, etc) to handle interfacing with libinput without
having to duplicate the code in each subsystem.
+config BR2_PACKAGE_EFL_DRM
+ bool "Evas DRM Engine"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
+ depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # require libgbm from mesa3d
+ select BR2_PACKAGE_EFL_ELPUT
+ select BR2_PACKAGE_LIBDRM
+ select BR2_PACKAGE_LIBXKBCOMMON
+ help
+ This option enable building support for the Evas DRM Engine.
+
+comment "Evas DRM Engine needs mesa3d w/ EGL support, threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL
+
comment "libevas loaders"
config BR2_PACKAGE_EFL_PNG
ifeq ($(BR2_PACKAGE_EFL_ELPUT),y)
EFL_CONF_OPTS += --enable-elput
-EFL_DEPENDENCIES += libinput libxkbcommon
+EFL_DEPENDENCIES += libinput
else
EFL_CONF_OPTS += --disable-elput
endif
EFL_CONF_OPTS += --with-opengl=none
endif
+ifeq ($(BR2_PACKAGE_EFL_DRM),y)
+EFL_CONF_OPTS += --enable-drm
+EFL_DEPENDENCIES += libdrm libegl mesa3d
+else
+EFL_CONF_OPTS += --disable-drm
+endif
+
+EFL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBXKBCOMMON),libxkbcommon)
+
# Loaders that need external dependencies needs to be --enable-XXX=yes
# otherwise the default is '=static'.
# All other loaders are statically built-in