blob: 430e2a4ed940933387a061282548dc5297a78819 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
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://icss_dualmac/src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
PR = "r0"
TI_PDK_COMP = "ti.drv.emac.firmware"
B = "${S}/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"
|