mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 20:19:01 +02:00

Upstream driver changes cause the driver to request firmware based on the device ID (e.g. 4329, 4330). This also applies to the nvram config file. Restructure the recipes and separate by chipset. Modify conf/machine to use chipset-specific broadcom nvram packages Signed-off-by: John Weber <rjohnweber@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
32 lines
603 B
PHP
32 lines
603 B
PHP
LICENSE = "Proprietary"
|
|
LIC_FILES_CHKSUM = "file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc"
|
|
|
|
SRC_URI = " \
|
|
file://LICENCE.broadcom_bcm43xx \
|
|
"
|
|
|
|
S = "${WORKDIR}"
|
|
BRCM_FWDIR = "/lib/firmware/brcm"
|
|
CHIP_MODEL ?= "Invalid"
|
|
|
|
do_install() {
|
|
install -d ${D}${BRCM_FWDIR}
|
|
|
|
cp -r ${WORKDIR}/brcmfmac${CHIP_MODEL}-sdio.txt \
|
|
${D}${BRCM_FWDIR}
|
|
}
|
|
|
|
SRC_URI += " \
|
|
file://brcmfmac${CHIP_MODEL}-sdio.txt \
|
|
"
|
|
|
|
FILES_${PN} = " \
|
|
${BRCM_FWDIR}/brcmfmac${CHIP_MODEL}-sdio.txt \
|
|
"
|
|
|
|
RDEPENDS_${PN} = " \
|
|
linux-firmware-bcm${CHIP_MODEL} \
|
|
"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|