summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/firmware-imx
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2021-01-21 21:36:53 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2021-01-26 19:51:16 -0300
commit4472b32f67c4e293e218fb1cc5741728f98e3421 (patch)
treeb7201c996c785b7565467764a0109b78589bac03 /recipes-bsp/firmware-imx
parent47394d05017483e7fd0cba5b927c76198bdfa062 (diff)
downloadmeta-freescale-4472b32f67c4e293e218fb1cc5741728f98e3421.tar.gz
firmware-nxp-wifi: remove packages existing in upstream
linux-firmware package already has firmware for modules, provided in this recipe. Drop firmware packages for following modules: - bcm4339 - bcm43430 - bcm43455 - bcm4356-pcie Keep the bcm4359-pcie in the recipe as it is not yet made part of linux-firmware package. Add recipe description detailing the usage of this package and actions to be taken once the firmware gets integrated upstream. Allow PN to be produced empty. Since PN does not receive any files, but is required in order for -dev package to be installed - allow it to be produced with empty content. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Diffstat (limited to 'recipes-bsp/firmware-imx')
-rw-r--r--recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb55
1 files changed, 10 insertions, 45 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb
index 4c838d03..0f0a2af0 100644
--- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb
+++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb
@@ -1,6 +1,11 @@
1# Copyright 2020-2021 NXP 1# Copyright 2020-2021 NXP
2 2
3SUMMARY = "Wi-Fi firmware redistributed by NXP" 3SUMMARY = "Wi-Fi firmware redistributed by NXP"
4DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP, \
5which is not covered by linux-firmware package. Once package becomes \
6available as a part of linux-firmware - it can be dropped from this \
7recipe in favor of upstream."
8
4SECTION = "kernel" 9SECTION = "kernel"
5LICENSE = "Proprietary" 10LICENSE = "Proprietary"
6LIC_FILES_CHKSUM = "file://cyw-wifi-bt/EULA.txt;md5=80c0478f4339af024519b3723023fe28" 11LIC_FILES_CHKSUM = "file://cyw-wifi-bt/EULA.txt;md5=80c0478f4339af024519b3723023fe28"
@@ -13,6 +18,7 @@ S = "${WORKDIR}/git"
13inherit allarch 18inherit allarch
14 19
15CLEANBROKEN = "1" 20CLEANBROKEN = "1"
21ALLOW_EMPTY_${PN} = "1"
16 22
17do_compile() { 23do_compile() {
18 : 24 :
@@ -22,60 +28,19 @@ do_install() {
22 install -d ${D}${sysconfdir}/firmware 28 install -d ${D}${sysconfdir}/firmware
23 install -d ${D}${nonarch_base_libdir}/firmware/brcm 29 install -d ${D}${nonarch_base_libdir}/firmware/brcm
24 30
25 # Install various flavors of Broadcom firmware provided by Murata 31 # Install various flavors of Broadcom firmware provided by Murata:
26 install -m 0644 cyw-wifi-bt/*_CYW*/brcmfmac* ${D}${nonarch_base_libdir}/firmware/brcm 32 # - bcm4359-pcie
27 install -m 0644 cyw-wifi-bt/*_CYW*/BCM*.hcd ${D}${sysconfdir}/firmware 33 install -m 0644 cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie* ${D}${nonarch_base_libdir}/firmware/brcm
34 install -m 0644 cyw-wifi-bt/*_CYW*/BCM4349B1*.hcd ${D}${sysconfdir}/firmware
28} 35}
29 36
30PACKAGES =+ " \ 37PACKAGES =+ " \
31 ${PN}-bcm4339 \
32 ${PN}-bcm43430 \
33 ${PN}-bcm43455 \
34 ${PN}-bcm4356-pcie \
35 ${PN}-bcm4359-pcie \ 38 ${PN}-bcm4359-pcie \
36" 39"
37 40
38FILES_${PN}-bcm4339 = " \
39 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.* \
40 ${sysconfdir}/firmware/BCM4335C0.ZP.hcd \
41"
42
43FILES_${PN}-bcm43430 = " \
44 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.* \
45 ${sysconfdir}/firmware/BCM43430A1.1DX.hcd \
46"
47
48FILES_${PN}-bcm43455 = " \
49 ${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.* \
50 ${sysconfdir}/firmware/BCM4345C0.1MW.hcd \
51"
52
53FILES_${PN}-bcm4356-pcie = " \
54 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.* \
55 ${sysconfdir}/firmware/BCM4354A2.1CX.hcd \
56"
57
58FILES_${PN}-bcm4359-pcie = " \ 41FILES_${PN}-bcm4359-pcie = " \
59 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4359-pcie.* \ 42 ${nonarch_base_libdir}/firmware/brcm/brcmfmac4359-pcie.* \
60 ${sysconfdir}/firmware/BCM4349B1_*.hcd \ 43 ${sysconfdir}/firmware/BCM4349B1_*.hcd \
61" 44"
62 45
63RCONFLICTS_${PN}-bcm4339 = "linux-firmware-bcm4339"
64RPROVIDES_${PN}-bcm4339 = "linux-firmware-bcm4339"
65RREPLACES_${PN}-bcm4339 = "linux-firmware-bcm4339"
66
67RCONFLICTS_${PN}-bcm43430 = "linux-firmware-bcm43430"
68RPROVIDES_${PN}-bcm43430 = "linux-firmware-bcm43430"
69RREPLACES_${PN}-bcm43430 = "linux-firmware-bcm43430"
70
71RCONFLICTS_${PN}-bcm43455 = "linux-firmware-bcm43455"
72RPROVIDES_${PN}-bcm43455 = "linux-firmware-bcm43455"
73RREPLACES_${PN}-bcm43455 = "linux-firmware-bcm43455"
74
75RCONFLICTS_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie"
76RPROVIDES_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie"
77RREPLACES_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie"
78
79RCONFLICTS_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie"
80RPROVIDES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie" 46RPROVIDES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie"
81RREPLACES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie"