Initial Commit
- initial default booting image
This commit is contained in:
13
package/uhubctl/Config.in
Normal file
13
package/uhubctl/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_UHUBCTL
|
||||
bool "uhubctl"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # 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, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
4
package/uhubctl/uhubctl.hash
Normal file
4
package/uhubctl/uhubctl.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 56ca15ddf96d39ab0bf8ee12d3daca13cea45af01bcd5a9732ffcc01664fdfa2 uhubctl-2.6.0.tar.gz
|
||||
sha256 80b933f8dfea8230f65744d303895ac724240f79ec89cc34a21cc2beba754967 LICENSE
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
22
package/uhubctl/uhubctl.mk
Normal file
22
package/uhubctl/uhubctl.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# uhubctl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
UHUBCTL_VERSION = 2.6.0
|
||||
UHUBCTL_SITE = $(call github,mvp,uhubctl,v$(UHUBCTL_VERSION))
|
||||
UHUBCTL_LICENSE = GPL-2.0
|
||||
UHUBCTL_LICENSE_FILES = LICENSE COPYING
|
||||
UHUBCTL_DEPENDENCIES = libusb
|
||||
|
||||
define UHUBCTL_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) GIT_VERSION=v$(UHUBCTL_VERSION) -C $(@D)
|
||||
endef
|
||||
|
||||
define UHUBCTL_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) \
|
||||
$(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user