blob: 68ce82a8553e886413cc02ebfcf8975f2debaa77 [file] [log] [blame]
FILESEXTRAPATHS_append := "${THISDIR}/files:"
CFLAGS_append += " -DWIFI_HAL_VERSION_3 -DCONFIG_DFS -D_WIFI_AX_SUPPORT_ -D_PLATFORM_TURRIS_ "
SRC_URI_append += " \
file://fix_guardInterval_set_issue.patch;apply=no \
file://Fix-dmcli-can-not-set-password.patch;apply=no \
"
# we need to patch to code for ccsp-wifi-agent
do_filogic_patches() {
cd ${S}
if [ ! -e filogic_patch_applied ]; then
patch -p1 < ${WORKDIR}/fix_guardInterval_set_issue.patch ${S}/source/TR-181/sbapi/cosa_wifi_apis.c
patch -p1 < ${WORKDIR}/Fix-dmcli-can-not-set-password.patch ${S}/source/TR-181/ml/cosa_wifi_dml.c
touch filogic_patch_applied
fi
}
addtask filogic_patches after do_unpack before do_configure