From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1j6dfe-0001ve-RE for ptxdist@pengutronix.de; Tue, 25 Feb 2020 18:06:58 +0100 From: Philipp Zabel Date: Tue, 25 Feb 2020 18:06:58 +0100 Message-Id: <20200225170658.4505-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] libinput: allow installing libinput tool List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Signed-off-by: Philipp Zabel --- 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