aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2019-11-13 19:11:05 -0600
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2019-11-28 10:42:14 +0100
commitde9d651d312aad4d0abe081d1ebcc100a5eeb488 (patch)
tree91bb1db3e801ed2998089d78ee9c2cf3ca2f56c8
parentee2451944709bd986ecbbb86b6ebe462a5cb000b (diff)
downloadmeta-qcom-de9d651d312aad4d0abe081d1ebcc100a5eeb488.tar.gz
meta-qcom-de9d651d312aad4d0abe081d1ebcc100a5eeb488.tar.bz2
meta-qcom-de9d651d312aad4d0abe081d1ebcc100a5eeb488.zip
recipes-support: Add pd-mapper recipe
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 2b040a5174d6138d93c4b1bc0d5a8180e7d6b49d)
-rw-r--r--recipes-support/pd-mapper/pd-mapper_git.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-support/pd-mapper/pd-mapper_git.bb b/recipes-support/pd-mapper/pd-mapper_git.bb
new file mode 100644
index 0000000..2d24786
--- /dev/null
+++ b/recipes-support/pd-mapper/pd-mapper_git.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Qualcomm pd-mapper application"
+HOMEPAGE = "https://github.com/andersson/pd-mapper.git"
+SECTION = "devel"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c5d4ab97bca4e843c5afdbf78aa5fdee"
+
+DEPENDS = "qrtr"
+
+inherit systemd
+
+SRCREV = "4236829a625ba5e90e689bc3d07e5ad15bca9733"
+SRC_URI = "git://github.com/andersson/${BPN}.git;branch=master;protocol=https"
+
+PV = "0.0+${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "prefix=${prefix} bindir=${bindir} libdir=${libdir} includedir=${includedir} LDFLAGS='${LDFLAGS} -Wl,-lqrtr'"
+
+do_install () {
+ oe_runmake install DESTDIR=${D} prefix=${prefix} servicedir=${systemd_unitdir}/system
+}
+
+SYSTEMD_SERVICE_${PN} = "pd-mapper.service"
+RDEPENDS_${PN} += "qrtr"