summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2019-10-01 01:28:39 -0400
committerKhem Raj <raj.khem@gmail.com>2019-10-01 08:51:18 -0700
commit1f80fd9618efef1f6b0967f69afe88669a963e67 (patch)
tree8a7eb0573eb7af42c2594509a9b8575fcc19b7fa /meta-oe/recipes-bsp
parent9bdbf7b485ed1e3241288bff614aeb3fc6039b1b (diff)
downloadmeta-openembedded-1f80fd9618efef1f6b0967f69afe88669a963e67.tar.gz
rwmem: add recipe
This is being moved from meta-ti as it's a rather generic tool to be useful on other platforms. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-bsp')
-rw-r--r--meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb b/meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb
new file mode 100644
index 000000000..0a15134df
--- /dev/null
+++ b/meta-oe/recipes-bsp/rwmem/rwmem_1.2.bb
@@ -0,0 +1,26 @@
1SUMMARY = "A small tool to read/write memory"
2LICENSE = "GPLv2+"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5DEPENDS += "python3 python3-pybind11"
6
7PV .= "+git${SRCPV}"
8
9SRCREV_rwmem = "cc296c5366a35a4c4271cfa3cc9831f6f34bfd9d"
10SRCREV_inih = "4b10c654051a86556dfdb634c891b6c3224c4109"
11
12SRCREV_FORMAT = "rwmem_inih"
13
14SRC_URI = " \
15 git://github.com/tomba/rwmem.git;protocol=https;name=rwmem \
16 git://github.com/benhoyt/inih.git;protocol=https;name=inih;nobranch=1;destsuffix=git/ext/inih \
17"
18
19S = "${WORKDIR}/git"
20
21inherit cmake pkgconfig
22
23do_install() {
24 install -D -m 0755 ${B}/bin/rwmem ${D}${bindir}/rwmem
25 install -D -m 0644 ${B}/lib/librwmem.a ${D}${libdir}/librwmem.a
26}