diff options
Diffstat (limited to 'bsp/meta-qcom/recipes-support/tqftpserv')
-rw-r--r-- | bsp/meta-qcom/recipes-support/tqftpserv/tqftpserv/0001-include-limits.h-for-PATH_MAX.patch | 25 | ||||
-rw-r--r-- | bsp/meta-qcom/recipes-support/tqftpserv/tqftpserv_git.bb | 28 |
2 files changed, 53 insertions, 0 deletions
diff --git a/bsp/meta-qcom/recipes-support/tqftpserv/tqftpserv/0001-include-limits.h-for-PATH_MAX.patch b/bsp/meta-qcom/recipes-support/tqftpserv/tqftpserv/0001-include-limits.h-for-PATH_MAX.patch new file mode 100644 index 00000000..5a58c586 --- /dev/null +++ b/bsp/meta-qcom/recipes-support/tqftpserv/tqftpserv/0001-include-limits.h-for-PATH_MAX.patch @@ -0,0 +1,25 @@ +From c21250e08cc5e6815340244693437e6372b5eca4 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 29 Nov 2019 17:52:33 -0800 +Subject: [PATCH] include limits.h for PATH_MAX + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + translate.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/translate.c b/translate.c +index 34c419e..e95dee5 100644 +--- a/translate.c ++++ b/translate.c +@@ -35,6 +35,7 @@ + #include <errno.h> + #include <fcntl.h> + #include <libgen.h> ++#include <limits.h> + #include <stdio.h> + #include <string.h> + #include <unistd.h> +-- +2.24.0 + diff --git a/bsp/meta-qcom/recipes-support/tqftpserv/tqftpserv_git.bb b/bsp/meta-qcom/recipes-support/tqftpserv/tqftpserv_git.bb new file mode 100644 index 00000000..8973434b --- /dev/null +++ b/bsp/meta-qcom/recipes-support/tqftpserv/tqftpserv_git.bb @@ -0,0 +1,28 @@ +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 \ + file://0001-include-limits.h-for-PATH_MAX.patch \ +" + +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" |