blob: 0d1091aaa13aeee4e8200955fe181388170b4f1f [file] [log] [blame]
SUMMARY = "WIFI HAL for RDK CCSP components"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://../../LICENSE;md5=175792518e4ac015ab6696d16c4f607e"
PROVIDES = "hal-wifi"
RPROVIDES_${PN} = "hal-wifi"
SRCREV = "${AUTOREV}"
inherit autotools coverity
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI = "git://gerrit.mediatek.inc/gateway/rdk-b/rdkb_hal;protocol=https;destsuffix=git/ \
file://LICENSE;subdir=git \
"
SRCREV_wifihal = "${AUTOREV}"
SRCREV_FORMAT = "wifihal"
PV = "${RDK_RELEASE}+git${SRCPV}"
S = "${WORKDIR}/git/src/wifi/"
DEPENDS += "halinterface libnl libev hostapd wpa-supplicant"
CFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'extender', '-D_TURRIS_EXTENDER_', '', d)}"
CFLAGS_append = " -I=${includedir}/ccsp -I=${includedir}/libnl3"
CFLAGS_append = " -DWIFI_HAL_VERSION_3"
LDFLAGS_append = " -lnl-nf-3 -lnl-route-3 -lnl-3 -lnl-xfrm-3 -lnl-genl-3 -lev -lwpa_client"
RDEPENDS_${PN}_dunfell += " wpa-supplicant"
RDEPENDS_${PN} += "wpa-supplicant"