developer | 0d67a39 | 2022-07-15 11:55:52 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" |
developer | 8c05d0a | 2022-10-05 18:03:56 +0800 | [diff] [blame^] | 2 | SRC_URI += "file://sta-network.patch;apply=no \ |
| 3 | file://add_undefined_dfs_function.patch;apply=no \ |
| 4 | " |
developer | 0d67a39 | 2022-07-15 11:55:52 +0800 | [diff] [blame] | 5 | |
| 6 | #This is workaround for missing do_patch when RDK uses external sources |
| 7 | do_filogic_patches() { |
| 8 | cd ${S} |
| 9 | if [ ! -e patch_applied ]; then |
| 10 | patch -p1 < ${WORKDIR}/sta-network.patch |
developer | 8c05d0a | 2022-10-05 18:03:56 +0800 | [diff] [blame^] | 11 | patch -p1 < ${WORKDIR}/add_undefined_dfs_function.patch |
developer | 0d67a39 | 2022-07-15 11:55:52 +0800 | [diff] [blame] | 12 | touch patch_applied |
| 13 | fi |
| 14 | } |
| 15 | addtask filogic_patches after do_unpack before do_compile |
| 16 | |
| 17 | CFLAGS_append = " -DWIFI_HAL_VERSION_3" |