mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00

This packages only the firmware needed for the RaspberryPi boards. We use the RPi-Distro as it's already maintained by the Raspbian guys and we get better support for the RaspberryPi needed firmwares. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
54 lines
1.6 KiB
BlitzBasic
54 lines
1.6 KiB
BlitzBasic
SUMMARY = "Firmware files for use with Linux kernel"
|
|
SECTION = "kernel"
|
|
|
|
LICENSE = "Firmware-broadcom_bcm43xx"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc"
|
|
|
|
# These are not common licenses, set NO_GENERIC_LICENSE for them
|
|
# so that the license files will be copied from fetched source
|
|
NO_GENERIC_LICENSE[Firmware-broadcom_bcm43xx] = "LICENCE.broadcom_bcm43xx"
|
|
|
|
SRCREV = "86e88fbf0345da49555d0ec34c80b4fbae7d0cd3"
|
|
PV = "0.0+git${SRCPV}"
|
|
|
|
SRC_URI = "git://github.com/RPi-Distro/firmware-nonfree"
|
|
|
|
UPSTREAM_VERSION_UNKNOWN = "1"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit allarch
|
|
|
|
CLEANBROKEN = "1"
|
|
|
|
do_compile() {
|
|
:
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${nonarch_base_libdir}/firmware/brcm
|
|
cp ./LICENCE.broadcom_bcm43xx ${D}${nonarch_base_libdir}/firmware
|
|
cp -r ./brcm/brcmfmac43430* ${D}${nonarch_base_libdir}/firmware/brcm
|
|
cp -r ./brcm/brcmfmac43455* ${D}${nonarch_base_libdir}/firmware/brcm
|
|
}
|
|
|
|
PACKAGES = " \
|
|
${PN}-broadcom-license \
|
|
${PN}-bcm43430 \
|
|
${PN}-bcm43455 \
|
|
"
|
|
|
|
LICENSE_${PN}-bcm43430 = "Firmware-broadcom_bcm43xx"
|
|
LICENSE_${PN}-bcm43455 = "Firmware-broadcom_bcm43xx"
|
|
LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx"
|
|
FILES_${PN}-broadcom-license = "${nonarch_base_libdir}/firmware/LICENCE.broadcom_bcm43xx"
|
|
FILES_${PN}-bcm43430 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43430*"
|
|
FILES_${PN}-bcm43455 = "${nonarch_base_libdir}/firmware/brcm/brcmfmac43455*"
|
|
RDEPENDS_${PN}-bcm43430 += "${PN}-broadcom-license"
|
|
RDEPENDS_${PN}-bcm43455 += "${PN}-broadcom-license"
|
|
|
|
# Firmware files are generally not ran on the CPU, so they can be
|
|
# allarch despite being architecture specific
|
|
INSANE_SKIP = "arch"
|