mirror of
https://github.com/mvp/uhubctl.git
synced 2026-05-17 08:26:29 +03:00
Add bitbake recipe file for building with Yocto
- bitbake recipe for yocto building, pulls the latest src from master Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
This commit is contained in:
20
uhubctl_git.bb
Normal file
20
uhubctl_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "uhubctl - USB hub per-port power control"
|
||||
HOMEPAGE = "https://github.com/mvp/uhubctl"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://LICENSE;md5=7a7d8e0fdffe495ff61f52ceee61b2f7"
|
||||
|
||||
DEPENDS = "libusb1"
|
||||
RDEPENDS_${PN} = "libusb1"
|
||||
|
||||
SRC_URI = "git://github.com/mvp/uhubctl.git"
|
||||
SRCREV = "${AUTOREV}"
|
||||
PV = "git"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install_append () {
|
||||
install -d ${D}${bindir}
|
||||
install -Dm 0755 ${S}/uhubctl ${D}${bindir}/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${bindir}/*"
|
||||
Reference in New Issue
Block a user