blob: eb64045a827fa3d5ec667f68dad3c49ed14b1215 [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#
Andrew Geisslerc60845c2021-01-29 15:55:05 -06004SRC_URI_append_ultra96 = "\
Andrew Geissler84ad7c52020-06-27 00:00:16 -05005 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
Andrew Geisslerc60845c2021-01-29 15:55:05 -060011do_install_append_ultra96() {
Andrew Geissler84ad7c52020-06-27 00:00:16 -050012 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
Andrew Geisslerc60845c2021-01-29 15:55:05 -060020PACKAGES_remove_ultra96 = "${PN}-wl12xx"
Andrew Geissler84ad7c52020-06-27 00:00:16 -050021
Andrew Geisslerc60845c2021-01-29 15:55:05 -060022FILES_${PN}-wl18xx_ultra96 = " \
Andrew Geissler84ad7c52020-06-27 00:00:16 -050023 ${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
Andrew Geisslerc60845c2021-01-29 15:55:05 -060029PACKAGE_ARCH_ultra96 = "${BOARD_ARCH}"