diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-bsp/usbinit/usbinit.bb | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-bsp/usbinit/usbinit.bb')
-rw-r--r-- | meta/recipes-bsp/usbinit/usbinit.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbinit/usbinit.bb b/meta/recipes-bsp/usbinit/usbinit.bb new file mode 100644 index 0000000000..aba44b4068 --- /dev/null +++ b/meta/recipes-bsp/usbinit/usbinit.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Initscript for enabling USB gadget Ethernet" | ||
2 | |||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" | ||
5 | |||
6 | PR = "r3" | ||
7 | |||
8 | SRC_URI = "file://usb-gether \ | ||
9 | file://COPYING.GPL" | ||
10 | S = "${WORKDIR}" | ||
11 | |||
12 | do_install() { | ||
13 | install -d ${D}${sysconfdir} | ||
14 | install -d ${D}${sysconfdir}/init.d | ||
15 | install usb-gether ${D}${sysconfdir}/init.d | ||
16 | } | ||
17 | |||
18 | inherit update-rc.d allarch | ||
19 | |||
20 | INITSCRIPT_NAME = "usb-gether" | ||
21 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." | ||