mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
964ae9f798
Changelog: =========== * Added support for Linux sysfs based power switching provided in Linux kernel 6.0+ - it allows to solve reliability issues when turning power off on Linux (#450). * Added option --nodesc to skip querying device string descriptors (necessary for some buggy devices which otherwise would completely freeze). * New simpler way to configure udev rules on Linux (one rule works for any USB hub). * Even more supported devices. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 lines
703 B
BlitzBasic
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 = "20276ad5ced147d018e2b3fccedabd94597aa25e"
|
|
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}
|
|
}
|