summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-support
diff options
context:
space:
mode:
authorGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-14 14:33:29 +0300
committerGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-06-14 14:33:29 +0300
commitce9e5627768f510135254838d9a2668a7dcffaeb (patch)
treebd5f28fdbeefb04ce592863a4ac9a0facea3ec85 /meta-rcar-gen3-adas/recipes-support
parent6c6e16ec788324ae41f2ca48a9d39a6a54877d8e (diff)
Add libsubg1 recipe
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-support')
-rw-r--r--meta-rcar-gen3-adas/recipes-support/libusbg/libusbg.inc10
-rw-r--r--meta-rcar-gen3-adas/recipes-support/libusbg/libusbg_0.1.0.bb9
-rw-r--r--meta-rcar-gen3-adas/recipes-support/libusbg/libusbg_git.bb9
3 files changed, 28 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-support/libusbg/libusbg.inc b/meta-rcar-gen3-adas/recipes-support/libusbg/libusbg.inc
new file mode 100644
index 0000000..eb62395
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/libusbg/libusbg.inc
@@ -0,0 +1,10 @@
+SUMMARY = "USB Gadget Configfs Library"
+
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+ file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS += " libconfig "
+
+inherit autotools pkgconfig
+
diff --git a/meta-rcar-gen3-adas/recipes-support/libusbg/libusbg_0.1.0.bb b/meta-rcar-gen3-adas/recipes-support/libusbg/libusbg_0.1.0.bb
new file mode 100644
index 0000000..b63bcd4
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/libusbg/libusbg_0.1.0.bb
@@ -0,0 +1,9 @@
+require libusbg.inc
+
+SRC_URI = "https://github.com/libusbg/libusbg/archive/v${PV}.tar.gz"
+
+SRC_URI[md5sum] = "2d3af961f7007a35ed3816de6b712ac1"
+SRC_URI[sha256sum] = "82fa5c71741a70477148ed455c307611075a4f9af6886ab3e7a4471377dfd2c7"
+
+S = "${WORKDIR}/libusbg-${PV}"
+
diff --git a/meta-rcar-gen3-adas/recipes-support/libusbg/libusbg_git.bb b/meta-rcar-gen3-adas/recipes-support/libusbg/libusbg_git.bb
new file mode 100644
index 0000000..4f873da
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/libusbg/libusbg_git.bb
@@ -0,0 +1,9 @@
+require libusbg.inc
+
+PV = "0.1.0b"
+SRCREV = "f1613aab97513188478087e001defbfca6847eca"
+SRC_URI = "git://github.com/kopasiak/libusbg.git"
+
+S = "${WORKDIR}/git"
+
+DEFAULT_PREFERENCE = "1"