diff options
| -rw-r--r-- | recipes-bsp/prueth-fw/prueth-fw_git.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes-bsp/prueth-fw/prueth-fw_git.bb b/recipes-bsp/prueth-fw/prueth-fw_git.bb new file mode 100644 index 00000000..3b760ac7 --- /dev/null +++ b/recipes-bsp/prueth-fw/prueth-fw_git.bb | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | DESCRIPTION = "PRU Ethernet firmware for AM57xx" | ||
| 2 | |||
| 3 | LICENSE = "TI-TFL" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" | ||
| 5 | |||
| 6 | PV = "1.0.0" | ||
| 7 | PR = "r0" | ||
| 8 | |||
| 9 | CLEANBROKEN = "1" | ||
| 10 | |||
| 11 | COMPATIBLE_MACHINE = "am57xx-evm" | ||
| 12 | |||
| 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 14 | |||
| 15 | SRCREV = "4ead3b8c189f217ee2c01ea3c56ef08d6a517f28" | ||
| 16 | BRANCH ?= "ti-linux-firmware-4.1.y" | ||
| 17 | |||
| 18 | SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | |||
| 22 | TARGET = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf" | ||
| 23 | |||
| 24 | do_install() { | ||
| 25 | install -d ${D}${base_libdir}/firmware/ti-pruss | ||
| 26 | for f in ${TARGET}; do | ||
| 27 | install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f | ||
| 28 | done | ||
| 29 | } | ||
| 30 | |||
| 31 | FILES_${PN} = "${base_libdir}/firmware" | ||
| 32 | |||
| 33 | INSANE_SKIP_${PN} = "arch" | ||
