Thang Q. Nguyen | 25254b7 | 2021-01-07 07:16:50 +0000 | [diff] [blame] | 1 | |
| 2 | SUMMARY = "Ampere Computing LLC Flashing Utilities" |
| 3 | DESCRIPTION = "Application to support flashing utilities on Ampere platforms" |
| 4 | PR = "r0" |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 7 | |
| 8 | RDEPENDS_${PN} = "bash" |
| 9 | DEPENDS = "zlib" |
| 10 | |
| 11 | SRC_URI += "\ |
| 12 | file://ampere_flash_bios.sh \ |
| 13 | " |
| 14 | |
| 15 | S = "${WORKDIR}" |
| 16 | ROOT = "${STAGING_DIR_TARGET}" |
| 17 | |
| 18 | LDFLAGS += "-L ${ROOT}/usr/lib/ -lz " |
| 19 | |
| 20 | do_install_append() { |
| 21 | install -d ${D}/usr/sbin |
| 22 | install -m 0755 ${S}/ampere_flash_bios.sh ${D}/${sbindir}/ampere_flash_bios.sh |
| 23 | } |