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 \ |
Chanh Nguyen | bdfb8a9 | 2022-04-28 09:11:28 +0000 | [diff] [blame] | 11 | " |
| 12 | |
| 13 | do_install:append() { |
| 14 | install -d ${D}/usr/sbin |
| 15 | install -m 0755 ${WORKDIR}/ampere_power_util.sh ${D}/${sbindir}/ |
Chanh Nguyen | b50fedb | 2022-10-24 15:29:56 +0700 | [diff] [blame] | 16 | install -m 0755 ${WORKDIR}/ampere_firmware_upgrade.sh ${D}/${sbindir}/ |
| 17 | install -m 0755 ${WORKDIR}/ampere_flash_bios.sh ${D}/${sbindir}/ |
Chanh Nguyen | bdfb8a9 | 2022-04-28 09:11:28 +0000 | [diff] [blame] | 18 | install -m 0755 ${WORKDIR}/ampere_power_on_driver_binder.sh ${D}/${sbindir}/ |
Chanh Nguyen | b50fedb | 2022-10-24 15:29:56 +0700 | [diff] [blame] | 19 | install -m 0755 ${WORKDIR}/ampere_firmware_version.sh ${D}/${sbindir}/ |
Chanh Nguyen | bdfb8a9 | 2022-04-28 09:11:28 +0000 | [diff] [blame] | 20 | } |