blob: 341ca13894ba981cd5bf7ed59408834ed98e1445 [file] [log] [blame]
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +00001FILESEXTRAPATHS:append := "${THISDIR}/${PN}:"
2
3INSANE_SKIP:${PN} = "already-stripped"
4
5SRC_URI:append = " \
6 file://ampere_power_util.sh \
Chanh Nguyenb50fedb2022-10-24 15:29:56 +07007 file://ampere_firmware_upgrade.sh \
8 file://ampere_flash_bios.sh \
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +00009 file://ampere_power_on_driver_binder.sh \
Chanh Nguyenb50fedb2022-10-24 15:29:56 +070010 file://ampere_firmware_version.sh \
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +000011 "
12
13do_install:append() {
14 install -d ${D}/usr/sbin
15 install -m 0755 ${WORKDIR}/ampere_power_util.sh ${D}/${sbindir}/
Chanh Nguyenb50fedb2022-10-24 15:29:56 +070016 install -m 0755 ${WORKDIR}/ampere_firmware_upgrade.sh ${D}/${sbindir}/
17 install -m 0755 ${WORKDIR}/ampere_flash_bios.sh ${D}/${sbindir}/
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +000018 install -m 0755 ${WORKDIR}/ampere_power_on_driver_binder.sh ${D}/${sbindir}/
Chanh Nguyenb50fedb2022-10-24 15:29:56 +070019 install -m 0755 ${WORKDIR}/ampere_firmware_version.sh ${D}/${sbindir}/
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +000020}