1 SUMMARY = "Systemd unit for CAN device helper"
3 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5 SRC_URI = "file://can-dev-helper.service \
6 file://can-dev-helper.sh \
9 inherit systemd allarch
11 SYSTEMD_SERVICE:${PN} = "${BPN}.service"
13 do_configure[noexec] = "1"
14 do_compile[noexec] = "1"
17 install -D -m 0644 ${WORKDIR}/${BPN}.service ${D}${systemd_system_unitdir}/${BPN}.service
18 install -D -m 0755 ${WORKDIR}/${BPN}.sh ${D}${sbindir}/${BPN}.sh
21 FILES:${PN} += "${systemd_system_unitdir}"
23 RDEPENDS:${PN} += "bash"