blob: 801c8768867f598a6537b249ef38a933058f70d5 (
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
|
SUMMARY = "TI SYSFW/TIFS Firmware"
inherit deploy
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
COMPATIBLE_MACHINE = "k3r5"
PACKAGE_ARCH = "${MACHINE_ARCH}"
CFLAGS[unexport] = "1"
LDFLAGS[unexport] = "1"
AS[unexport] = "1"
LD[unexport] = "1"
PV = "${TI_SYSFW_VERSION}"
PR = "${INC_PR}.0"
CLEANBROKEN = "1"
do_install() {
install -d ${D}${nonarch_base_libdir}/firmware/ti-sysfw
install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${D}${nonarch_base_libdir}/firmware/ti-sysfw
install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${D}${nonarch_base_libdir}/firmware/ti-sysfw
install -m 644 ${S}/ti-sysfw/ti-fs-stub-firmware-* ${D}${nonarch_base_libdir}/firmware/ti-sysfw
}
FILES:${PN} = "${nonarch_base_libdir}/firmware"
do_deploy() {
install -d ${DEPLOYDIR}/ti-sysfw
install -m 644 ${S}/ti-sysfw/ti-sci-firmware-* ${DEPLOYDIR}/ti-sysfw
install -m 644 ${S}/ti-sysfw/ti-fs-firmware-* ${DEPLOYDIR}/ti-sysfw
install -m 644 ${S}/ti-sysfw/ti-fs-stub-firmware-* ${DEPLOYDIR}/ti-sysfw
}
addtask deploy before do_build after do_compile
|