blob: 241070c4eeb7cada8f5362943e6e27e984372d54 [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
Thang Q. Nguyenfa1aa4d2021-08-07 05:09:50 +00008RDEPENDS:${PN} = "bash"
Thang Q. Nguyen25254b72021-01-07 07:16:50 +00009DEPENDS = "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
Thang Q. Nguyenfa1aa4d2021-08-07 05:09:50 +000020do_install:append() {
Thang Q. Nguyen25254b72021-01-07 07:16:50 +000021 install -d ${D}/usr/sbin
22 install -m 0755 ${S}/ampere_flash_bios.sh ${D}/${sbindir}/ampere_flash_bios.sh
23}