M7350/oe-core/meta-msm/recipes/wlan/qcacld-ll_git.bb
2024-09-09 08:57:42 +00:00

31 lines
942 B
BlitzBasic

inherit autotools-brokensep module
DESCRIPTION = "Qualcomm Atheros WLAN CLD driver"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/${LICENSE};md5=f3b90e78ea0cffb20bf5cca7947a896d"
FILES_${PN} += "${base_libdir}/firmware/wlan/*"
FILES_${PN} += "${base_libdir}/modules/${KERNEL_VERSION}/extra/wlan.ko"
RPROVIDES_${PN} += "kernel-module-wlan"
do_unpack[deptask] = "do_populate_sysroot"
PR = "r7-${KERNEL_VERSION}"
# This DEPENDS is to serialize kernel module builds
DEPENDS = "rtsp-alg"
FILESPATH =+ "${WORKSPACE}:"
SRC_URI = "file://wlan/qcacld-2.0/"
S = "${WORKDIR}/wlan/qcacld-2.0/"
FIRMWARE_PATH = "${D}${base_libdir}/firmware/wlan/qca_cld"
do_install () {
module_do_install
install -d ${FIRMWARE_PATH}
install -m 0644 ${S}/firmware_bin/WCNSS_cfg.dat ${FIRMWARE_PATH}/
install -m 0644 CORE/SVC/external/wlan_nlink_common.h -D ${D}${includedir}/qcacld/wlan_nlink_common.h
}