summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/weston/weston.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/weston/weston.mk b/package/weston/weston.mk
index ea63203763..325cfc7512 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
OpenPOWER on IntegriCloud