blob: 7426c39c9ecdb22dfbffb990c3e7673198fcc289 [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 \
10 "
11
12do_install:append() {
13 install -d ${D}/usr/sbin
14 install -m 0755 ${WORKDIR}/ampere_power_util.sh ${D}/${sbindir}/
Chanh Nguyenb50fedb2022-10-24 15:29:56 +070015 install -m 0755 ${WORKDIR}/ampere_firmware_upgrade.sh ${D}/${sbindir}/
16 install -m 0755 ${WORKDIR}/ampere_flash_bios.sh ${D}/${sbindir}/
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +000017 install -m 0755 ${WORKDIR}/ampere_power_on_driver_binder.sh ${D}/${sbindir}/
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +000018}