diff options
author | Alexander Dahl <ada@thorsis.com> | 2023-09-19 15:20:35 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2023-09-22 11:49:16 +0200 |
commit | 2bc400cd9b583a0f9ab32569e7c845c1b18c1c39 (patch) | |
tree | b4ac8ff2e8ace9a62bb9fb2f9dc85720d10b26db | |
parent | 7949a6cbae2b00c01aba8f34f991cc2dff6eb9c5 (diff) | |
download | ptxdist-2bc400cd9b583a0f9ab32569e7c845c1b18c1c39.tar.gz ptxdist-2bc400cd9b583a0f9ab32569e7c845c1b18c1c39.tar.xz |
uhubctl: Cosmetic rule file changes
- bool -> tristate
- whitespace
- shorter install_copy call (in fact moves the binary from /usr/bin to
/usr/sbin, which is what `make install` does here and where the binary
is found in Debian as well)
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Message-Id: <20230919132035.416672-1-ada@thorsis.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/uhubctl.in | 4 | ||||
-rw-r--r-- | rules/uhubctl.make | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/rules/uhubctl.in b/rules/uhubctl.in index ec30f6637..6693ba16d 100644 --- a/rules/uhubctl.in +++ b/rules/uhubctl.in @@ -1,8 +1,8 @@ ## SECTION=shell_and_console config UHUBCTL - bool + tristate select LIBUSB prompt "uhubctl" help - Utility to control USB power per-port on smart USB hubs. + Utility to control USB power per-port on smart USB hubs. diff --git a/rules/uhubctl.make b/rules/uhubctl.make index 53bf1025a..fc4219fb6 100644 --- a/rules/uhubctl.make +++ b/rules/uhubctl.make @@ -30,7 +30,7 @@ UHUBCTL_LICENSE_FILES := \ # ---------------------------------------------------------------------------- UHUBCTL_CONF_TOOL := NO -UHUBCTL_MAKE_ENV := $(CROSS_ENV) +UHUBCTL_MAKE_ENV := $(CROSS_ENV) # ---------------------------------------------------------------------------- # Target-Install @@ -45,7 +45,7 @@ $(STATEDIR)/uhubctl.targetinstall: @$(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_copy, uhubctl, 0, 0, 0755, -, /usr/sbin/uhubctl) @$(call install_finish, uhubctl) |