mirror of
https://git.yoctoproject.org/poky
synced 2026-03-05 14:59:41 +01:00
(From OE-Core rev: ec4fdfcc7bcbc9bb92e2f33b37cc8c99bf1b6822) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
26 lines
776 B
BlitzBasic
26 lines
776 B
BlitzBasic
SUMMARY = "Initscript for enabling USB gadget Ethernet"
|
|
DESCRIPTION = "This module allows ethernet emulation over USB, allowing for \
|
|
all sorts of nifty things like SSH and NFS in one go plus charging over the \
|
|
same wire, at higher speeds than most Wifi connections."
|
|
HOMEPAGE = "http://linux-sunxi.org/USB_Gadget/Ethernet"
|
|
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
PR = "r3"
|
|
|
|
SRC_URI = "file://usb-gether \
|
|
file://COPYING.GPL"
|
|
S = "${WORKDIR}"
|
|
|
|
do_install() {
|
|
install -d ${D}${sysconfdir}
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install usb-gether ${D}${sysconfdir}/init.d
|
|
}
|
|
|
|
inherit update-rc.d allarch
|
|
|
|
INITSCRIPT_NAME = "usb-gether"
|
|
INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
|