blob: 89798a4db150f77acb865c51ddfc75ac26d59cd3 [file] [log] [blame]
Patrick Williams8b8bc412016-08-17 15:02:23 -05001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3SRC_URI_append_raspberrypi3 = " \
4 file://BCM43430A1.hcd \
5 file://0001-bcm43xx-Add-bcm43xx-3wire-variant.patch \
6 file://0002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch \
7 file://0003-Increase-firmware-load-timeout-to-30s.patch \
8 file://0004-Move-the-43xx-firmware-into-lib-firmware.patch \
9 file://brcm43438.service \
10 "
11
12do_install_append_raspberrypi3() {
13 install -d ${D}/lib/firmware/brcm/
14 install -m 0644 ${WORKDIR}/BCM43430A1.hcd ${D}/lib/firmware/brcm/BCM43430A1.hcd
15
16 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
17 install -d ${D}${systemd_unitdir}/system
18 install -m 0644 ${WORKDIR}/brcm43438.service ${D}${systemd_unitdir}/system
19 fi
20}
21
22FILES_${PN}_append_raspberrypi3 = " \
23 /lib/firmware/brcm/BCM43430A1.hcd \
24 "
25
26SYSTEMD_SERVICE_${PN}_raspberrypi3 += "brcm43438.service"