mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libinput: allow installing libinput tool
@ 2020-02-25 17:06 Philipp Zabel
  0 siblings, 0 replies; only message in thread
From: Philipp Zabel @ 2020-02-25 17:06 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/libinput.in   | 6 ++++++
 rules/libinput.make | 5 +++++
 2 files changed, 11 insertions(+)

diff --git a/rules/libinput.in b/rules/libinput.in
index 7765721b1585..d4bde4bfe4d8 100644
--- a/rules/libinput.in
+++ b/rules/libinput.in
@@ -25,4 +25,10 @@ config LIBINPUT_QUIRKS
 	  that allow connecting external input devices, or for systems that are
 	  contained in the quirks database.
 
+config LIBINPUT_TOOL
+	bool
+	prompt "install libinput tool"
+	help
+	  Install the libinput tool.
+
 endif
diff --git a/rules/libinput.make b/rules/libinput.make
index a43e35755a72..a668fef0835f 100644
--- a/rules/libinput.make
+++ b/rules/libinput.make
@@ -62,6 +62,11 @@ else
 		/usr/share/libinput/99-ptxdist-dummy.quirks)
 endif
 
+ifdef PTXCONF_LIBINPUT_TOOL
+	@$(call install_copy, libinput, 0, 0, 0755, -, /usr/bin/libinput)
+	@$(call install_tree, libinput, 0, 0, -, /usr/libexec/libinput)
+endif
+
 	@$(call install_finish, libinput)
 
 	@$(call touch)
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-25 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-25 17:06 [ptxdist] [PATCH] libinput: allow installing libinput tool Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox