diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2023-04-20 10:49:21 -0700 |
|---|---|---|
| committer | Tom Hochstein <tom.hochstein@nxp.com> | 2023-04-20 11:09:47 -0700 |
| commit | 4c2a6df26ca8e90191fc6aad22cacbb25ea4c6ae (patch) | |
| tree | 6d088c7b5de8749a9e095efbc94a49da6b0e49ce | |
| parent | 6e0ae6e0bab7d84084cc47bddf57f18a1c9986f8 (diff) | |
| download | meta-freescale-4c2a6df26ca8e90191fc6aad22cacbb25ea4c6ae.tar.gz | |
firmware-nxp-wifi: Fix install -D
The install -D option does unfortunately have idiosyncratic
requirements on the destination format. If you don't get the format
right, it fails:
```
install: target 'tmp/work/all-poky-linux/firmware-nxp-wifi/1.0-r0/image/lib/firmware/brcm' is not a directory
```
This commit also fixes a missing -D option.
Fixes: f9ce2b8
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| -rw-r--r-- | recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb | 11 |
1 files changed, 8 insertions, 3 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 cfa449c38..3d29aa503 100644 --- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb +++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb | |||
| @@ -28,11 +28,16 @@ do_compile() { | |||
| 28 | do_install() { | 28 | do_install() { |
| 29 | # Install various flavors of Broadcom firmware provided by Murata: | 29 | # Install various flavors of Broadcom firmware provided by Murata: |
| 30 | # - bcm4359-pcie | 30 | # - bcm4359-pcie |
| 31 | install -D -m 0644 cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie* ${D}${nonarch_base_libdir}/firmware/brcm | 31 | for f in cyw-wifi-bt/*_CYW*/brcmfmac4359-pcie*; do |
| 32 | install -m 0644 cyw-wifi-bt/*_CYW*/BCM4349B1*.hcd ${D}${sysconfdir}/firmware | 32 | install -D -m 0644 $f ${D}${nonarch_base_libdir}/firmware/brcm/$(basename $f) |
| 33 | done | ||
| 34 | |||
| 35 | for f in cyw-wifi-bt/*_CYW*/BCM4349B1*.hcd; do | ||
| 36 | install -D -m 0644 $f ${D}${sysconfdir}/firmware/$(basename $f) | ||
| 37 | done | ||
| 33 | 38 | ||
| 34 | # Install NXP Connectivity common | 39 | # Install NXP Connectivity common |
| 35 | install -D -m 0644 nxp/wifi_mod_para.conf ${D}${nonarch_base_libdir}/firmware/nxp | 40 | install -D -m 0644 nxp/wifi_mod_para.conf ${D}${nonarch_base_libdir}/firmware/nxp/wifi_mod_para.conf |
| 36 | 41 | ||
| 37 | # Install NXP Connectivity SD8801 firmware | 42 | # Install NXP Connectivity SD8801 firmware |
| 38 | install -m 0644 nxp/FwImage_8801_SD/ed_mac_ctrl_V1_8801.conf ${D}${nonarch_base_libdir}/firmware/nxp | 43 | install -m 0644 nxp/FwImage_8801_SD/ed_mac_ctrl_V1_8801.conf ${D}${nonarch_base_libdir}/firmware/nxp |
