blob: 68ce82a8553e886413cc02ebfcf8975f2debaa77 [file] [log] [blame]
developer1f43a7f2023-01-12 15:05:10 +08001FILESEXTRAPATHS_append := "${THISDIR}/files:"
2
developer450e3c62023-03-16 17:58:32 +08003CFLAGS_append += " -DWIFI_HAL_VERSION_3 -DCONFIG_DFS -D_WIFI_AX_SUPPORT_ -D_PLATFORM_TURRIS_ "
developer1f43a7f2023-01-12 15:05:10 +08004
5SRC_URI_append += " \
6 file://fix_guardInterval_set_issue.patch;apply=no \
7 file://Fix-dmcli-can-not-set-password.patch;apply=no \
8"
9
10# we need to patch to code for ccsp-wifi-agent
11do_filogic_patches() {
12 cd ${S}
13 if [ ! -e filogic_patch_applied ]; then
14 patch -p1 < ${WORKDIR}/fix_guardInterval_set_issue.patch ${S}/source/TR-181/sbapi/cosa_wifi_apis.c
15 patch -p1 < ${WORKDIR}/Fix-dmcli-can-not-set-password.patch ${S}/source/TR-181/ml/cosa_wifi_dml.c
16 touch filogic_patch_applied
17 fi
18}
19addtask filogic_patches after do_unpack before do_configure
20
21
22