blob: ceaaf8840ac2bc8aafcf45043b195273d7ee8359 [file] [log] [blame]
developerc8e728e2022-05-19 10:39:32 +08001SUMMARY = "SMP IRQ Affinity tool"
2SECTION = "applications"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
5
6S = "${WORKDIR}"
7inherit systemd
8
9SRC_URI = " \
10 file://COPYING \
11 file://smp-mt76.sh \
12 file://smp.service \
developere5e3d1b2023-02-02 15:26:12 +080013 file://001-rdkb-smp-ifname.patch \
developerc8e728e2022-05-19 10:39:32 +080014 "
15
16SYSTEMD_PACKAGES = "${PN}"
17SYSTEMD_SERVICE_${PN} = " smp.service"
18FILES_${PN} += "{systemd_unitdir}/system/smp.service"
19
20do_install() {
21 install -d ${D}${sbindir}
developere5e3d1b2023-02-02 15:26:12 +080022 install -m 0755 ${S}/smp-mt76.sh ${D}${sbindir}
developerc8e728e2022-05-19 10:39:32 +080023 install -d ${D}${systemd_unitdir}/system/
24 install -m 0644 ${S}/smp.service ${D}${systemd_unitdir}/system
25}