blob: ceaaf8840ac2bc8aafcf45043b195273d7ee8359 [file] [log] [blame]
SUMMARY = "SMP IRQ Affinity tool"
SECTION = "applications"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
S = "${WORKDIR}"
inherit systemd
SRC_URI = " \
file://COPYING \
file://smp-mt76.sh \
file://smp.service \
file://001-rdkb-smp-ifname.patch \
"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = " smp.service"
FILES_${PN} += "{systemd_unitdir}/system/smp.service"
do_install() {
install -d ${D}${sbindir}
install -m 0755 ${S}/smp-mt76.sh ${D}${sbindir}
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${S}/smp.service ${D}${systemd_unitdir}/system
}