blob: 778ca985ba8232d4502cf55e8541022d75f07a2a [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 \
Thang Q. Nguyenfe4a6072023-06-09 08:55:58 +070011 file://ampere_fanctrl.sh \
12 file://ampere_scandump_mode.sh \
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +000013 "
14
15do_install:append() {
16 install -d ${D}/usr/sbin
17 install -m 0755 ${WORKDIR}/ampere_power_util.sh ${D}/${sbindir}/
Chanh Nguyenb50fedb2022-10-24 15:29:56 +070018 install -m 0755 ${WORKDIR}/ampere_firmware_upgrade.sh ${D}/${sbindir}/
19 install -m 0755 ${WORKDIR}/ampere_flash_bios.sh ${D}/${sbindir}/
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +000020 install -m 0755 ${WORKDIR}/ampere_power_on_driver_binder.sh ${D}/${sbindir}/
Chanh Nguyenb50fedb2022-10-24 15:29:56 +070021 install -m 0755 ${WORKDIR}/ampere_firmware_version.sh ${D}/${sbindir}/
Thang Q. Nguyenfe4a6072023-06-09 08:55:58 +070022 install -m 0755 ${WORKDIR}/ampere_fanctrl.sh ${D}/${sbindir}/
23 install -m 0755 ${WORKDIR}/ampere_scandump_mode.sh ${D}/${sbindir}/
Chanh Nguyenbdfb8a92022-04-28 09:11:28 +000024}