meta-freescale-3rdparty/recipes-bsp/broadcom-nvram-config/broadcom-nvram-config.inc
John Weber c92573efff broadcom-nvram-config: separate recipes to different chipsets
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>
2014-07-21 11:03:30 -03:00

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}"