mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Lars Pedersen <lapeddk@gmail.com>
Subject: Re: [ptxdist] [APPLIED] uhubctl: new package
Date: Tue, 27 Jul 2021 08:21:42 +0200	[thread overview]
Message-ID: <20210727062142.1994034-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20210723080635.515356-1-lapeddk@gmail.com>

Thanks, applied as 5b856b1ad41b1abf5db001e0e574fac3cda51805.

Michael

[sent from post-receive hook]

On Tue, 27 Jul 2021 08:21:42 +0200, Lars Pedersen <lapeddk@gmail.com> 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 <lapeddk@gmail.com>
> Message-Id: <20210723080635.515356-1-lapeddk@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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 <lapeddk@gmail.com>
> +#
> +# 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 <lapeddk@gmail.com>")
> +	@$(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


      reply	other threads:[~2021-07-27  6:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23  8:06 [ptxdist] [PATCH] " Lars Pedersen
2021-07-27  6:21 ` Michael Olbrich [this message]

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=20210727062142.1994034-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=lapeddk@gmail.com \
    --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