1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-06 11:32:38 +00:00
Files
meta-ti/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb
Yogesh Siraswar eb051b4a33 ti-linux-fw: Support common inc for all firmware
Change to support common INC for all firmware
This will help with:
1) Eliminating requirement to change multiple recipes for firmware
update
2) This will help support AUTOREV

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-10-20 10:33:40 +00:00

35 lines
750 B
BlitzBasic

SUMMARY = "PRU Ethernet firmware for AM65xx SR2.0"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PV = "${PRUETH_FW_AM65X_SR2_VERSION}"
PR = "${INC_PR}.0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "am65xx-evm|am64xx-evm"
PACKAGE_ARCH = "${MACHINE_ARCH}"
S = "${WORKDIR}/git"
TARGET = " \
am65x-sr2-pru0-prueth-fw.elf \
am65x-sr2-pru1-prueth-fw.elf \
am65x-sr2-rtu0-prueth-fw.elf \
am65x-sr2-rtu1-prueth-fw.elf \
am65x-sr2-txpru0-prueth-fw.elf \
am65x-sr2-txpru1-prueth-fw.elf \
"
do_install() {
install -d ${D}${base_libdir}/firmware/ti-pruss
for f in ${TARGET}; do
install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
done
}
FILES_${PN} = "${base_libdir}/firmware"
INSANE_SKIP_${PN} = "arch"