- 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 <a...@thorsis.com>
---
 rules/uhubctl.in   | 4 ++--
 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 
<lape...@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)
 
-- 
2.30.2


Reply via email to