ap6210-firmware-nanopi: Install firmware to proper directory
[meta-nanopi.git] / recipes-tools / ap6210-firmware-nanopi / ap6210-firmware-nanopi_1.0.bb
1 DESCRIPTION = "Broadcom AP6210 firmware files"
2 SECTION = "connectivity"
3
4 SRC_URI = "git://github.com/ARMWorks/dibs.git;branch=master;protocol=https;rev=bee5cbc03bb078b664cd08733b46d88142189dff \
5            https://android.googlesource.com/platform/hardware/broadcom/wlan/+/gingerbread-mr4-release/bcm4329/firmware/LICENSE.TXT"
6
7 LICENSE = "Proprietary"
8 LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.TXT;md5=02de91ee94eb0b66f407f5cef55e1629"
9
10 S = "${WORKDIR}/git/targets/nanopi_overlay/lib/firmware/ap6210/"
11
12 FILES_${PN} += "/lib/firmware/*"
13
14 do_compile() {
15 }
16
17 do_install() {
18         install -v -d  ${D}/lib/firmware/ap6210/
19         install -m 0755 bcm20702a.hcd ${D}/lib/firmware/ap6210/
20         install -m 0755 fw_bcm40181a2.bin ${D}/lib/firmware/ap6210/
21         install -m 0755 fw_bcm40181a2_apsta.bin ${D}/lib/firmware/ap6210/
22         install -m 0755 fw_bcm40181a2_p2p.bin ${D}/lib/firmware/ap6210/
23         install -m 0755 nvram.txt ${D}/lib/firmware/ap6210/
24 }
25
26 SRC_URI[md5sum] = "02de91ee94eb0b66f407f5cef55e1629"
27 SRC_URI[sha256sum] = "57e64c76b4e3bccb95a8f5fe995ead069a4e21660cc61acf9f2b33a0e53f677d"