9c20f3035968554b3eef681e94d092afbef4d97e
[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=8422d7238586f81a3807a937624d4ecb"
9
10 S = "${WORKDIR}/git/targets/nanopi_overlay/lib/firmware/ap6210/"
11
12 do_compile() {
13 }
14
15 do_install() {
16         install -v -d  ${D}/etc/firmware/
17         install -m 0755 bcm20702a.hcd ${D}/etc/firmware/
18         install -m 0755 fw_bcm40181a2.bin ${D}/etc/firmware/
19         install -m 0755 fw_bcm40181a2_apsta.bin ${D}/etc/firmware/
20         install -m 0755 fw_bcm40181a2_p2p.bin ${D}/etc/firmware/
21         install -m 0755 nvram.txt ${D}/etc/firmware/
22 }
23
24 SRC_URI[md5sum] = "8422d7238586f81a3807a937624d4ecb"
25 SRC_URI[sha256sum] = "9db7b938b43d36f0e34c443e78b8f387ade5ed3a6d5cdf3fe23308726e6804e7"