Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame^] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
| 2 | |
| 3 | SRC_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 | |
| 12 | do_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 | |
| 22 | FILES_${PN}_append_raspberrypi3 = " \ |
| 23 | /lib/firmware/brcm/BCM43430A1.hcd \ |
| 24 | " |
| 25 | |
| 26 | SYSTEMD_SERVICE_${PN}_raspberrypi3 += "brcm43438.service" |