Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
- add --disable-elput in the !BR2_PACKAGE_EFL_ELPUT case
- add missing dependency on libxkbcomm]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
endchoice # OpenGL support
+config BR2_PACKAGE_EFL_ELPUT
+ bool "Elput"
+ select BR2_PACKAGE_LIBINPUT
+ select BR2_PACKAGE_LIBXKBCOMMON
+ help
+ The elput library is an efl abstraction for the libinput library
+ which can be used by various other subsystems (ecore_fb,
+ ecore_drm, etc) to handle interfacing with libinput without
+ having to duplicate the code in each subsystem.
+
comment "libevas loaders"
config BR2_PACKAGE_EFL_PNG
EFL_CONF_OPTS += --disable-wayland
endif
+ifeq ($(BR2_PACKAGE_EFL_ELPUT),y)
+EFL_CONF_OPTS += --enable-elput
+EFL_DEPENDENCIES += libinput libxkbcommon
+else
+EFL_CONF_OPTS += --disable-elput
+endif
+
ifeq ($(BR2_PACKAGE_EFL_FB),y)
EFL_CONF_OPTS += --enable-fb
else