LINUX-FIRMWARE: manage specific RRECOMMENDS for wifi and bt suspend service
Change-Id: Iaadd03f1ed30442f9f4c29bc07a8bba6f080a972
This commit is contained in:
parent
9698c64aca
commit
a0b7db0c1e
|
|
@ -1,16 +1,20 @@
|
|||
# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
|
||||
|
||||
DESCRIPTION = "Bluetooth firmware for BCM4343"
|
||||
SUMMARY = "Bluetooth firmware for BCM4343"
|
||||
HOMEPAGE = "https://github.com/murata-wireless/cyw-bt-patch"
|
||||
LICENSE = "Firmware-cypress-bcm4343"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE.cypress;md5=cbc5f665d04f741f1e006d2096236ba7"
|
||||
|
||||
NO_GENERIC_LICENSE[Firmware-cypress-bcm4343] = "LICENCE.cypress"
|
||||
|
||||
inherit allarch
|
||||
|
||||
SRC_URI = "git://github.com/murata-wireless/cyw-bt-patch;protocol=https"
|
||||
SRCREV = "f819145223f1f99d3fc81a62c2ea2789d797d7b0"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit allarch
|
||||
PACKAGES =+ "${PN}-cypress-license"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/brcm/
|
||||
|
|
@ -19,15 +23,15 @@ do_install() {
|
|||
install -m 644 ${S}/LICENCE.cypress ${D}${nonarch_base_libdir}/firmware/LICENCE.cypress_bcm4343
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-cypress-license"
|
||||
FILES_${PN} = " ${nonarch_base_libdir}/firmware/ "
|
||||
|
||||
NO_GENERIC_LICENSE[Firmware-cypress-bcm4343] = "LICENCE.cypress"
|
||||
LICENSE_${PN} = "Firmware-cypress-bcm4343"
|
||||
LICENSE_${PN}-cypress-license = "Firmware-cypress-bcm4343"
|
||||
|
||||
FILES_${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress_bcm4343"
|
||||
FILES_${PN} = "${nonarch_base_libdir}/firmware/"
|
||||
|
||||
RDEPENDS_${PN} += "${PN}-cypress-license"
|
||||
|
||||
LICENSE_${PN}-cypress-license = "Firmware-cypress-bcm4343"
|
||||
FILES_${PN}-cypress-license = "${nonarch_base_libdir}/firmware/LICENCE.cypress_bcm4343"
|
||||
RRECOMMENDS_${PN}_append_stm32mpcommon += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'bluetooth-suspend', '', d)}"
|
||||
|
||||
# Firmware files are generally not ran on the CPU, so they can be
|
||||
# allarch despite being architecture specific
|
||||
|
|
|
|||
|
|
@ -23,3 +23,5 @@ FILES_${PN}-bcm43430_append_stm32mpcommon = " \
|
|||
${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.clm_blob \
|
||||
"
|
||||
RDEPENDS_${PN}-bcm43430_remove_stm32mpcommon = " ${PN}-cypress-license "
|
||||
|
||||
RRECOMMENDS_${PN}-bcm43430_append_stm32mpcommon += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'wifi-suspend', '', d)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue