developer | 1f43a7f | 2023-01-12 15:05:10 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_append := "${THISDIR}/files:" |
| 2 | |
developer | 450e3c6 | 2023-03-16 17:58:32 +0800 | [diff] [blame] | 3 | CFLAGS_append += " -DWIFI_HAL_VERSION_3 -DCONFIG_DFS -D_WIFI_AX_SUPPORT_ -D_PLATFORM_TURRIS_ " |
developer | 1f43a7f | 2023-01-12 15:05:10 +0800 | [diff] [blame] | 4 | |
| 5 | SRC_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 |
| 11 | do_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 | } |
| 19 | addtask filogic_patches after do_unpack before do_configure |
| 20 | |
| 21 | |
| 22 | |