blob: 0f0a2af0fd2b5386e7f14ec9798e3d056fa5ddb8 (
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
46
|
# Copyright 2020-2021 NXP
SUMMARY = "Wi-Fi firmware redistributed by NXP"
DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP, \
which is not covered by linux-firmware package. Once package becomes \
available as a part of linux-firmware - it can be dropped from this \
recipe in favor of upstream."
SECTION = "kernel"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://cyw-wifi-bt/EULA.txt;md5=80c0478f4339af024519b3723023fe28"
SRC_URI = "git://github.com/NXP/imx-firmware.git;protocol=https"
SRCREV = "484d38224fa2c26b8859a7bf20b7c4d49100f5bc"
S = "${WORKDIR}/git"
inherit allarch
CLEANBROKEN = "1"
ALLOW_EMPTY_${PN} = "1"
do_compile() {
:
}
do_install() {
install -d ${D}${sysconfdir}/firmware
install -d ${D}${nonarch_base_libdir}/firmware/brcm
# Install various flavors of Broadcom firmware provided by Murata:
# - bcm4359-pcie
install -m 0644 cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie* ${D}${nonarch_base_libdir}/firmware/brcm
install -m 0644 cyw-wifi-bt/*_CYW*/BCM4349B1*.hcd ${D}${sysconfdir}/firmware
}
PACKAGES =+ " \
${PN}-bcm4359-pcie \
"
FILES_${PN}-bcm4359-pcie = " \
${nonarch_base_libdir}/firmware/brcm/brcmfmac4359-pcie.* \
${sysconfdir}/firmware/BCM4349B1_*.hcd \
"
RPROVIDES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie"
|