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