blob: 3a26d718188978feef3be9a87df67b3ee556d3dc [file] [log] [blame]
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "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
patch -p1 < ${WORKDIR}/0001-Add-owe-mode.patch
touch patch_applied
fi
}
addtask filogic_patches after do_unpack before do_compile
CFLAGS_append = " -DWIFI_HAL_VERSION_3"