Files
tqma6-yocto-mirror/sources/meta-tq/meta-dumpling/recipes-libraries/ethos-u-driver-stack/ethos-u-firmware_%.%.bbappend

19 lines
618 B
Plaintext
Raw Normal View History

# this depends on machine specific firmware
PACKAGE_ARCH = "${MACHINE_ARCH}"
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
# This must be ELF,
# rename and copy to /lib/firmware/ethosu_firmware
# name is currently compiled fix into the driver
ETHOS_U_FIRMWARE:tqma93xx = "ethosu_apps_rpmsg.elf"
# appending to SRC_URI and overwriting do_install keeps license handling intact
SRC_URI:append:tqma93xx = " file://${ETHOS_U_FIRMWARE}"
do_install:tqma93xx () {
install -d ${D}${nonarch_base_libdir}/firmware
install -m 0644 ${WORKDIR}/${ETHOS_U_FIRMWARE} ${D}${nonarch_base_libdir}/firmware/ethosu_firmware
}