F: package/ebtables/
F: package/openipmi/
F: package/ti-uim/
+F: package/uhubctl/
N: Ben Boeckel <mathstuf@gmail.com>
F: package/taskd/
source "package/uccp420wlan/Config.in"
source "package/udev/Config.in"
source "package/udisks/Config.in"
+ source "package/uhubctl/Config.in"
source "package/upower/Config.in"
source "package/usb_modeswitch/Config.in"
source "package/usb_modeswitch_data/Config.in"
--- /dev/null
+config BR2_PACKAGE_UHUBCTL
+ bool "uhubctl"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+ select BR2_PACKAGE_LIBUSB
+ help
+ Control USB power per-port on smart USB hubs.
+
+ https://github.com/mvp/uhubctl
+
+comment "uhubctl needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
--- /dev/null
+# Locally computed
+sha256 dfc85571ad86a071bf7a0db7cadf97a870e628777e47176520de6866b4f042b6 uhubctl-047bb1e392efd3e0ea5d5caf351e20761e12cd44.tar.gz
--- /dev/null
+################################################################################
+#
+# uhubctl
+#
+################################################################################
+
+UHUBCTL_VERSION = 047bb1e392efd3e0ea5d5caf351e20761e12cd44
+UHUBCTL_SITE = $(call github,mvp,uhubctl,$(UHUBCTL_VERSION))
+UHUBCTL_LICENSE = GPL-2.0
+UHUBCTL_LICENSE_FILES = LICENSE
+UHUBCTL_DEPENDENCIES = libusb
+
+define UHUBCTL_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define UHUBCTL_INSTALL_TARGET_CMDS
+ $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) \
+ $(MAKE) -C $(@D) install
+endef
+
+$(eval $(generic-package))