SUMMARY = "PRU Switch firmware for AM57xx, AM437x and AM335x" require recipes-bsp/ti-linux-fw/ti-linux-fw.inc PR = "${INC_PR}.0" CLEANBROKEN = "1" COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" PACKAGE_ARCH = "${MACHINE_ARCH}" S = "${WORKDIR}/git" TARGET = "" TARGET:ti33x = "am335x-pru0-prusw-fw.elf am335x-pru1-prusw-fw.elf" TARGET:ti43x = "am437x-pru0-prusw-fw.elf am437x-pru1-prusw-fw.elf" TARGET:am57xx-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf" TARGET:am57xx-hs-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-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"