diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2021-01-21 21:36:53 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-01-26 19:51:16 -0300 |
commit | 4472b32f67c4e293e218fb1cc5741728f98e3421 (patch) | |
tree | b7201c996c785b7565467764a0109b78589bac03 /recipes-bsp/firmware-imx | |
parent | 47394d05017483e7fd0cba5b927c76198bdfa062 (diff) | |
download | meta-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.bb | 55 |
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 | ||
3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" | 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" |
4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP, \ | ||
5 | which is not covered by linux-firmware package. Once package becomes \ | ||
6 | available as a part of linux-firmware - it can be dropped from this \ | ||
7 | recipe in favor of upstream." | ||
8 | |||
4 | SECTION = "kernel" | 9 | SECTION = "kernel" |
5 | LICENSE = "Proprietary" | 10 | LICENSE = "Proprietary" |
6 | LIC_FILES_CHKSUM = "file://cyw-wifi-bt/EULA.txt;md5=80c0478f4339af024519b3723023fe28" | 11 | LIC_FILES_CHKSUM = "file://cyw-wifi-bt/EULA.txt;md5=80c0478f4339af024519b3723023fe28" |
@@ -13,6 +18,7 @@ S = "${WORKDIR}/git" | |||
13 | inherit allarch | 18 | inherit allarch |
14 | 19 | ||
15 | CLEANBROKEN = "1" | 20 | CLEANBROKEN = "1" |
21 | ALLOW_EMPTY_${PN} = "1" | ||
16 | 22 | ||
17 | do_compile() { | 23 | do_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 | ||
30 | PACKAGES =+ " \ | 37 | PACKAGES =+ " \ |
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 | ||
38 | FILES_${PN}-bcm4339 = " \ | ||
39 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac4339-sdio.* \ | ||
40 | ${sysconfdir}/firmware/BCM4335C0.ZP.hcd \ | ||
41 | " | ||
42 | |||
43 | FILES_${PN}-bcm43430 = " \ | ||
44 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.* \ | ||
45 | ${sysconfdir}/firmware/BCM43430A1.1DX.hcd \ | ||
46 | " | ||
47 | |||
48 | FILES_${PN}-bcm43455 = " \ | ||
49 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac43455-sdio.* \ | ||
50 | ${sysconfdir}/firmware/BCM4345C0.1MW.hcd \ | ||
51 | " | ||
52 | |||
53 | FILES_${PN}-bcm4356-pcie = " \ | ||
54 | ${nonarch_base_libdir}/firmware/brcm/brcmfmac4356-pcie.* \ | ||
55 | ${sysconfdir}/firmware/BCM4354A2.1CX.hcd \ | ||
56 | " | ||
57 | |||
58 | FILES_${PN}-bcm4359-pcie = " \ | 41 | FILES_${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 | ||
63 | RCONFLICTS_${PN}-bcm4339 = "linux-firmware-bcm4339" | ||
64 | RPROVIDES_${PN}-bcm4339 = "linux-firmware-bcm4339" | ||
65 | RREPLACES_${PN}-bcm4339 = "linux-firmware-bcm4339" | ||
66 | |||
67 | RCONFLICTS_${PN}-bcm43430 = "linux-firmware-bcm43430" | ||
68 | RPROVIDES_${PN}-bcm43430 = "linux-firmware-bcm43430" | ||
69 | RREPLACES_${PN}-bcm43430 = "linux-firmware-bcm43430" | ||
70 | |||
71 | RCONFLICTS_${PN}-bcm43455 = "linux-firmware-bcm43455" | ||
72 | RPROVIDES_${PN}-bcm43455 = "linux-firmware-bcm43455" | ||
73 | RREPLACES_${PN}-bcm43455 = "linux-firmware-bcm43455" | ||
74 | |||
75 | RCONFLICTS_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie" | ||
76 | RPROVIDES_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie" | ||
77 | RREPLACES_${PN}-bcm4356-pcie = "linux-firmware-bcm4356-pcie" | ||
78 | |||
79 | RCONFLICTS_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie" | ||
80 | RPROVIDES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie" | 46 | RPROVIDES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie" |
81 | RREPLACES_${PN}-bcm4359-pcie = "linux-firmware-bcm4359-pcie" | ||