summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-07-19 11:24:50 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-07-19 15:01:17 +0200
commite79c73dbf57ac97a472f0762c1ca9815f2d7ae20 (patch)
treeac24dff2eb18c679a0f88c441021802a147dfa7d
parent216e656acc0ab1b49fad891497abaf199bb66994 (diff)
downloadptxdist-e79c73dbf57ac97a472f0762c1ca9815f2d7ae20.tar.gz
ptxdist-e79c73dbf57ac97a472f0762c1ca9815f2d7ae20.tar.xz
libinput: optionally enable wacom support
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/libinput.in5
-rw-r--r--rules/libinput.make2
2 files changed, 6 insertions, 1 deletions
diff --git a/rules/libinput.in b/rules/libinput.in
index 9d319cc0b..c775567f1 100644
--- a/rules/libinput.in
+++ b/rules/libinput.in
@@ -10,6 +10,7 @@ menuconfig LIBINPUT
select PYTHON3 if LIBINPUT_TOOL_REPLAY && RUNTIME
select PYTHON3_LIBEVDEV if LIBINPUT_TOOL_REPLAY && RUNTIME
select PYTHON3_PYYAML if LIBINPUT_TOOL_REPLAY && RUNTIME
+ select LIBWACOM if LIBINPUT_WACOM
prompt "libinput "
help
libinput is a library to handle input devices in Wayland compositors and to
@@ -43,4 +44,8 @@ config LIBINPUT_TOOL_REPLAY
dependencies. Enable this option to ensure that all Python
packages needed for 'libinput replay' are available.
+config LIBINPUT_WACOM
+ bool
+ prompt "wacom support"
+
endif
diff --git a/rules/libinput.make b/rules/libinput.make
index a92ad6eee..016cea8b6 100644
--- a/rules/libinput.make
+++ b/rules/libinput.make
@@ -37,7 +37,7 @@ LIBINPUT_CONF_OPT := \
-Ddocumentation=false \
-Depoll-dir= \
-Dinstall-tests=false \
- -Dlibwacom=false \
+ -Dlibwacom=$(call ptx/truefalse, PTXCONF_LIBINPUT_WACOM) \
-Dtests=false \
-Dudev-dir=/usr/lib/udev \
-Dzshcompletiondir=no