From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 27 Jul 2021 08:22:30 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m8GU2-0002T1-0W for lore@lore.pengutronix.de; Tue, 27 Jul 2021 08:22:30 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m8GU1-00014F-Dy; Tue, 27 Jul 2021 08:22:29 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8GTH-0000fl-1M; Tue, 27 Jul 2021 08:21:43 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m8GTG-0005iB-H1; Tue, 27 Jul 2021 08:21:42 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m8GTG-008Mkb-EB; Tue, 27 Jul 2021 08:21:42 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Tue, 27 Jul 2021 08:21:42 +0200 Message-Id: <20210727062142.1994034-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210723080635.515356-1-lapeddk@gmail.com> References: <20210723080635.515356-1-lapeddk@gmail.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] uhubctl: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Lars Pedersen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 5b856b1ad41b1abf5db001e0e574fac3cda51805. Michael [sent from post-receive hook] On Tue, 27 Jul 2021 08:21:42 +0200, Lars Pedersen wrote: > uhubctl is utility to control USB power per-port on smart USB hubs. > Smart hub is defined as one that implements per-port power switching. > > Signed-off-by: Lars Pedersen > Message-Id: <20210723080635.515356-1-lapeddk@gmail.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/uhubctl.in b/rules/uhubctl.in > new file mode 100644 > index 000000000000..ec30f6637316 > --- /dev/null > +++ b/rules/uhubctl.in > @@ -0,0 +1,8 @@ > +## SECTION=shell_and_console > + > +config UHUBCTL > + bool > + select LIBUSB > + prompt "uhubctl" > + help > + Utility to control USB power per-port on smart USB hubs. > diff --git a/rules/uhubctl.make b/rules/uhubctl.make > new file mode 100644 > index 000000000000..394b46855549 > --- /dev/null > +++ b/rules/uhubctl.make > @@ -0,0 +1,54 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2021 by Lars Pedersen > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_UHUBCTL) += uhubctl > + > +# > +# Paths and names > +# > +UHUBCTL_VERSION := 2.4.0 > +UHUBCTL_MD5 := 9bdf73940881df02574a94703ad8b582 > +UHUBCTL := uhubctl-$(UHUBCTL_VERSION) > +UHUBCTL_SUFFIX := tar.gz > +UHUBCTL_URL := https://github.com/mvp/uhubctl/archive/v$(UHUBCTL_VERSION).$(UHUBCTL_SUFFIX) > +UHUBCTL_SOURCE := $(SRCDIR)/$(UHUBCTL).$(UHUBCTL_SUFFIX) > +UHUBCTL_DIR := $(BUILDDIR)/$(UHUBCTL) > +UHUBCTL_LICENSE := GPL-2.0-only > +UHUBCTL_LICENSE_FILES := \ > + file://LICENSE;md5=a79e6a142b69522fe7757fe7313895eb > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +UHUBCTL_CONF_TOOL := NO > +UHUBCTL_MAKE_ENV := $(CROSS_ENV) > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/uhubctl.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, uhubctl) > + @$(call install_fixup, uhubctl,PRIORITY,optional) > + @$(call install_fixup, uhubctl,SECTION,base) > + @$(call install_fixup, uhubctl,AUTHOR,"Lars Pedersen ") > + @$(call install_fixup, uhubctl,DESCRIPTION,missing) > + > + @$(call install_copy, uhubctl, 0, 0, 0755, $(UHUBCTL_DIR)/uhubctl, /usr/bin/uhubctl) > + > + @$(call install_finish, uhubctl) > + > + @$(call touch) > + > +# vim: syntax=make _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de