Bump buidlroot version to 2018.02.6
This commit is contained in:
11
bsp/buildroot/package/uhubctl/Config.in
Normal file
11
bsp/buildroot/package/uhubctl/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
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
|
||||
2
bsp/buildroot/package/uhubctl/uhubctl.hash
Normal file
2
bsp/buildroot/package/uhubctl/uhubctl.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 dfc85571ad86a071bf7a0db7cadf97a870e628777e47176520de6866b4f042b6 uhubctl-047bb1e392efd3e0ea5d5caf351e20761e12cd44.tar.gz
|
||||
22
bsp/buildroot/package/uhubctl/uhubctl.mk
Normal file
22
bsp/buildroot/package/uhubctl/uhubctl.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user