Files
Wang Mingyu 1095ad51bb uhubctl: upgrade 2.5.0 -> 2.6.0
Changelog:
=========
- Added support for Raspberry Pi 5
- Fixed bug for big-endian platforms
- Fixed sysfs path bug for Linux kernel 6.x or higher
- Added flash (inverted cycle) option - turn power on then off
- Improved Linux detection
- Added more devices to supported table

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00

22 lines
703 B
BlitzBasic

SUMMARY = "USB hub per-port power control"
HOMEPAGE = "https://github.com/mvp/uhubctl"
BUGTRACKER = "https://github.com/mvp/uhubctl/issues"
DEPENDS = "libusb1"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRCREV = "352f5878e999c0a9d5a453b34110479b2056d7e7"
SRC_URI = "git://github.com/mvp/${BPN};branch=master;protocol=https"
S = "${WORKDIR}/git"
# uhubctl gets its program version from "git describe". As we use the source
# archive do reduce download size replace the call with our hardcoded version.
do_configure:append() {
sed -i "s/^\(GIT_VERSION :=\).*$/\1 ${PV}/g" ${S}/Makefile
}
do_install () {
oe_runmake install DESTDIR=${D}
}