mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 11:42:57 +00:00
prueth-fw-am65xx: build am65xx prueth-fw from source
* The sources for the am65xx prueth-fw are located in within the emac-lld sources. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
a9ea0e990d
commit
3db629082b
43
recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
Normal file
43
recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
Normal file
@@ -0,0 +1,43 @@
|
||||
SUMMARY = "PRU Ethernet firmware for AM65x"
|
||||
|
||||
require recipes-ti/includes/ti-paths.inc
|
||||
require recipes-bsp/emac-lld/emac-lld.inc
|
||||
|
||||
LICENSE = "TI-TFL"
|
||||
LIC_FILES_CHKSUM = "file://src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git/firmware/icss_dualmac"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
DEPENDS = "ti-cgt-pru-native"
|
||||
|
||||
EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}""
|
||||
|
||||
do_compile() {
|
||||
oe_runmake -C src
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware/ti-pruss
|
||||
|
||||
install -m 0644 bin/rxl2_txl2_rgmii0/rxl2_txl2.out \
|
||||
${D}${base_libdir}/firmware/ti-pruss/am65x-pru0-prueth-fw.elf
|
||||
|
||||
install -m 0644 bin/rtu_test0/rtu_v2.out \
|
||||
${D}${base_libdir}/firmware/ti-pruss/am65x-rtu0-prueth-fw.elf
|
||||
|
||||
install -m 0644 bin/rxl2_txl2_rgmii1/rxl2_txl2.out \
|
||||
${D}${base_libdir}/firmware/ti-pruss/am65x-pru1-prueth-fw.elf
|
||||
|
||||
install -m 0644 bin/rtu_test1/rtu_v2.out \
|
||||
${D}${base_libdir}/firmware/ti-pruss/am65x-rtu1-prueth-fw.elf
|
||||
}
|
||||
|
||||
FILES_${PN} = "${base_libdir}/firmware"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
Reference in New Issue
Block a user