From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] libinput: allow installing libinput tool
Date: Tue, 25 Feb 2020 18:06:58 +0100 [thread overview]
Message-ID: <20200225170658.4505-1-p.zabel@pengutronix.de> (raw)
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
reply other threads:[~2020-02-25 17:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200225170658.4505-1-p.zabel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox