Chanh Nguyen | bdfb8a9 | 2022-04-28 09:11:28 +0000 | [diff] [blame] | 1 | FILESEXTRAPATHS:append := "${THISDIR}/${PN}:" |
| 2 | |
| 3 | INSANE_SKIP:${PN} = "already-stripped" |
| 4 | |
| 5 | SRC_URI:append = " \ |
| 6 | file://ampere_power_util.sh \ |
Chanh Nguyen | b50fedb | 2022-10-24 15:29:56 +0700 | [diff] [blame] | 7 | file://ampere_firmware_upgrade.sh \ |
| 8 | file://ampere_flash_bios.sh \ |
Chanh Nguyen | bdfb8a9 | 2022-04-28 09:11:28 +0000 | [diff] [blame] | 9 | file://ampere_power_on_driver_binder.sh \ |
Chanh Nguyen | b50fedb | 2022-10-24 15:29:56 +0700 | [diff] [blame] | 10 | file://ampere_firmware_version.sh \ |
Thang Q. Nguyen | fe4a607 | 2023-06-09 08:55:58 +0700 | [diff] [blame] | 11 | file://ampere_fanctrl.sh \ |
| 12 | file://ampere_scandump_mode.sh \ |
Chanh Nguyen | bdfb8a9 | 2022-04-28 09:11:28 +0000 | [diff] [blame] | 13 | " |
| 14 | |
| 15 | do_install:append() { |
| 16 | install -d ${D}/usr/sbin |
| 17 | install -m 0755 ${WORKDIR}/ampere_power_util.sh ${D}/${sbindir}/ |
Chanh Nguyen | b50fedb | 2022-10-24 15:29:56 +0700 | [diff] [blame] | 18 | install -m 0755 ${WORKDIR}/ampere_firmware_upgrade.sh ${D}/${sbindir}/ |
| 19 | install -m 0755 ${WORKDIR}/ampere_flash_bios.sh ${D}/${sbindir}/ |
Chanh Nguyen | bdfb8a9 | 2022-04-28 09:11:28 +0000 | [diff] [blame] | 20 | install -m 0755 ${WORKDIR}/ampere_power_on_driver_binder.sh ${D}/${sbindir}/ |
Chanh Nguyen | b50fedb | 2022-10-24 15:29:56 +0700 | [diff] [blame] | 21 | install -m 0755 ${WORKDIR}/ampere_firmware_version.sh ${D}/${sbindir}/ |
Thang Q. Nguyen | fe4a607 | 2023-06-09 08:55:58 +0700 | [diff] [blame] | 22 | install -m 0755 ${WORKDIR}/ampere_fanctrl.sh ${D}/${sbindir}/ |
| 23 | install -m 0755 ${WORKDIR}/ampere_scandump_mode.sh ${D}/${sbindir}/ |
Chanh Nguyen | bdfb8a9 | 2022-04-28 09:11:28 +0000 | [diff] [blame] | 24 | } |