developer | c8e728e | 2022-05-19 10:39:32 +0800 | [diff] [blame] | 1 | SUMMARY = "SMP IRQ Affinity tool" |
| 2 | SECTION = "applications" |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 5 | |
| 6 | S = "${WORKDIR}" |
| 7 | inherit systemd |
| 8 | |
| 9 | SRC_URI = " \ |
| 10 | file://COPYING \ |
| 11 | file://smp-mt76.sh \ |
| 12 | file://smp.service \ |
developer | e5e3d1b | 2023-02-02 15:26:12 +0800 | [diff] [blame] | 13 | file://001-rdkb-smp-ifname.patch \ |
developer | c8e728e | 2022-05-19 10:39:32 +0800 | [diff] [blame] | 14 | " |
| 15 | |
| 16 | SYSTEMD_PACKAGES = "${PN}" |
| 17 | SYSTEMD_SERVICE_${PN} = " smp.service" |
| 18 | FILES_${PN} += "{systemd_unitdir}/system/smp.service" |
| 19 | |
| 20 | do_install() { |
| 21 | install -d ${D}${sbindir} |
developer | e5e3d1b | 2023-02-02 15:26:12 +0800 | [diff] [blame] | 22 | install -m 0755 ${S}/smp-mt76.sh ${D}${sbindir} |
developer | c8e728e | 2022-05-19 10:39:32 +0800 | [diff] [blame] | 23 | install -d ${D}${systemd_unitdir}/system/ |
| 24 | install -m 0644 ${S}/smp.service ${D}${systemd_unitdir}/system |
| 25 | } |