aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2019-11-13 19:47:23 -0600
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2019-11-28 10:42:16 +0100
commit6266126aee787959ec6f6be4ed08495616408ec7 (patch)
tree9394c5b0d1015eab0b1f7c514b70d0d4bfe50b53
parentde9d651d312aad4d0abe081d1ebcc100a5eeb488 (diff)
downloadmeta-qcom-6266126aee787959ec6f6be4ed08495616408ec7.tar.gz
meta-qcom-6266126aee787959ec6f6be4ed08495616408ec7.tar.bz2
meta-qcom-6266126aee787959ec6f6be4ed08495616408ec7.zip
recipes-support: Add tqftpserv recipe
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit 12278cb27c7833f9feb199f8a22bb38a6befe5e3)
-rw-r--r--recipes-support/tqftpserv/tqftpserv_git.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-support/tqftpserv/tqftpserv_git.bb b/recipes-support/tqftpserv/tqftpserv_git.bb
new file mode 100644
index 0000000..b37b5b7
--- /dev/null
+++ b/recipes-support/tqftpserv/tqftpserv_git.bb
@@ -0,0 +1,26 @@
+SUMMARY = "Qualcomm tqftpserv application"
+HOMEPAGE = "https://github.com/andersson/tqftpserv.git"
+SECTION = "devel"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=424e013ed97b36284f3b9ce27bb16a56"
+
+DEPENDS = "qrtr"
+
+inherit systemd
+
+SRCREV = "fe53d2a810abe0e1ee7cc0bb20fd520dc6605ecb"
+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} = "tqftpserv.service"
+RDEPENDS_${PN} += "qrtr"