blob: a1e4cb0ba1b9dda51b1a9064239f218ab10bfb30 [file] [log] [blame]
Andrew Geissler84ad7c52020-06-27 00:00:16 -05001# TIInit_11.8.32.bts is required for bluetooth support but this particular
2# version is not available in the linux-firmware repository.
3#
4SRC_URI_append_ultra96-zynqmp = "\
5 https://git.ti.com/ti-bt/service-packs/blobs/raw/c290f8af9e388f37e509ecb111a1b64572b7c225/initscripts/TIInit_11.8.32.bts;name=TIInit_11.8.32 \
6 "
7
8SRC_URI[TIInit_11.8.32.md5sum] = "b1e142773e8ef0537b93895ebe2fcae3"
9SRC_URI[TIInit_11.8.32.sha256sum] = "962322c05857ad6b1fb81467bdfc59c125e04a6a8eaabf7f24b742ddd68c3bfa"
10
11do_install_append_ultra96-zynqmp() {
12 cp ${WORKDIR}/TIInit_11.8.32.bts ${D}${nonarch_base_libdir}/firmware/ti-connectivity/
13 ( cd ${D}${nonarch_base_libdir}/firmware ; ln -sf ti-connectivity/* . )
14 rm -f ${D}${nonarch_base_libdir}/firmware/ti-connectivity/TIInit_7*
15 rm -f ${D}${nonarch_base_libdir}/firmware/TIInit_7*
16}
17
18INSANE_SKIP_${PN} += "installed-vs-shipped"
19
20PACKAGES_remove_ultra96-zynqmp = "${PN}-wl12xx"
21
22FILES_${PN}-wl18xx_ultra96-zynqmp = " \
23 ${nonarch_base_libdir}/firmware/wl18* \
24 ${nonarch_base_libdir}/firmware/TI* \
25 ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \
26 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
27 "
28