diff --git a/package/weston/weston.mk b/package/weston/weston.mk index ea6320376..325cfc751 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -32,6 +32,13 @@ else WESTON_CONF_OPT += --disable-xkbcommon endif +ifeq ($(BR2_PACKAGE_LIBINPUT),y) +WESTON_DEPENDENCIES += libinput +WESTON_CONF_OPT += --enable-libinput-backend +else +WESTON_CONF_OPT += --disable-libinput-backend +endif + ifeq ($(BR2_PACKAGE_LIBUNWIND),y) WESTON_DEPENDENCIES += libunwind else