Thang Q. Nguyen | 6998e51 | 2022-05-16 05:41:57 +0000 | [diff] [blame] | 1 | FILESEXTRAPATHS:append := "${THISDIR}/${PN}:" |
| 2 | |
| 3 | SRC_URI:append = " \ |
| 4 | file://gpio-defs.sh \ |
| 5 | file://gpio-lib.sh \ |
| 6 | file://ampere_power_util.sh \ |
| 7 | file://ampere_firmware_upgrade.sh \ |
| 8 | file://ampere_flash_bios.sh \ |
| 9 | " |
| 10 | |
| 11 | do_install:append() { |
| 12 | install -d ${D}/usr/sbin |
| 13 | install -m 0755 ${WORKDIR}/gpio-lib.sh ${D}/${sbindir}/ |
| 14 | install -m 0755 ${WORKDIR}/gpio-defs.sh ${D}/${sbindir}/ |
| 15 | install -m 0755 ${WORKDIR}/ampere_power_util.sh ${D}/${sbindir}/ |
| 16 | install -m 0755 ${WORKDIR}/ampere_firmware_upgrade.sh ${D}/${sbindir}/ |
| 17 | install -m 0755 ${WORKDIR}/ampere_flash_bios.sh ${D}/${sbindir}/ |
| 18 | } |