ccardimx28: only install BT firmware on HW variants with BT
While on it, rework and simplify atheros firmware recipe: * remove 'unknown' version (renamed recipe) * do not create empty debug and development packages Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
4cb49ab09d
commit
a4c9ddc270
|
|
@ -14,7 +14,8 @@ UBOOT_SUFFIX = "sb"
|
|||
WPA_DRIVER = "nl80211"
|
||||
|
||||
# Firmware
|
||||
MACHINE_FIRMWARE = "firmware-atheros-ar3k"
|
||||
MACHINE_FIRMWARE ?= ""
|
||||
MACHINE_FIRMWARE_append = " ${@base_conditional('HAVE_BT', '1' , 'firmware-atheros-ar3k', '', d)}"
|
||||
|
||||
MACHINE_EXTRA_RDEPENDS += "mtd-utils-ubifs nvram ubootenv update-flash"
|
||||
MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}"
|
||||
|
|
|
|||
|
|
@ -4,12 +4,9 @@ SUMMARY = "Firmware files for Digi's platforms, such as Atheros bluetooth."
|
|||
SECTION = "base"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://${DIGI_EULA_FILE};md5=ef5b088ca04b6f10b1764aa182f4f51d"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
PR = "${DISTRO}.r0"
|
||||
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/firmware-${PV}:"
|
||||
|
||||
SRC_URI = " \
|
||||
file://PS_ASIC_class_1.pst \
|
||||
file://PS_ASIC_class_2.pst \
|
||||
|
|
@ -25,8 +22,9 @@ do_install() {
|
|||
${D}${base_libdir}/firmware/ar3k/1020200/
|
||||
}
|
||||
|
||||
PACKAGES += "${PN}-ar3k"
|
||||
# Do not create empty debug and development packages (PN-dbg PN-dev PN-staticdev)
|
||||
PACKAGES = "${PN}-ar3k"
|
||||
|
||||
FILES_${PN}-ar3k = "/lib/firmware/ar3k/*"
|
||||
FILES_${PN}-ar3k = "/lib/firmware/ar3k"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mxs|mx6)"
|
||||
Loading…
Reference in New Issue