blob: b3a160ae72fa9449668edf2387ba13651064ef7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
SUMMARY = "RMTFS QMI service"
HOMEPAGE = "https://github.com/andersson/mrtfs.git"
SECTION = "devel"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ca25dbf5ebfc1a058bfc657c895aac2f"
inherit systemd
SRCREV = "0f800fa4334b03a47941ce1b577f51a69552e414"
SRC_URI = "git://github.com/andersson/${BPN}.git;branch=master;protocol=https"
SRC_URI += "file://rmtfs.service"
DEPENDS = "qmic-native qrtr udev"
PV = "0.0+${SRCPV}"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "'LDFLAGS=${TARGET_LDFLAGS} -L${STAGING_LIBDIR} -lqrtr -ludev'"
do_install () {
oe_runmake install DESTDIR=${D} prefix=${prefix}
sed -i -e s:/usr/bin:${bindir}:g ${WORKDIR}/rmtfs.service
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/rmtfs.service ${D}${systemd_unitdir}/system
}
SYSTEMD_SERVICE_${PN} = "rmtfs.service"
RDEPENDS_${PN} += "qrtr"
|