blob: f5424b29a4f3eb17fea05f44ebc30d6a03ec5b18 [file] [log] [blame]
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " file://*.patch;apply=no \
"
#This is workaround for missing do_patch when RDK uses external sources
do_filogic_patches() {
cd ${S}
if [ ! -e patch_applied ]; then
patch -p1 < ${WORKDIR}/sta-network.patch
patch -p1 < ${WORKDIR}/add_undefined_dfs_function.patch
if ${@bb.utils.contains( 'DISTRO_FEATURES', 'filogic', 'false', 'true', d)}; then
patch -p1 < ${WORKDIR}/0001-Add-owe-mode.patch
fi
patch -p1 < ${WORKDIR}/0002-Add-EHT-support.patch
touch patch_applied
fi
}
addtask filogic_patches after do_unpack before do_compile
CFLAGS_append = " -DWIFI_HAL_VERSION_3"