developer | 0d67a39 | 2022-07-15 11:55:52 +0800 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" |
developer | ca67207 | 2023-02-24 18:01:27 +0800 | [diff] [blame^] | 2 | SRC_URI_append = " file://*.patch;apply=no \ |
| 3 | " |
developer | 0d67a39 | 2022-07-15 11:55:52 +0800 | [diff] [blame] | 4 | |
| 5 | #This is workaround for missing do_patch when RDK uses external sources |
| 6 | do_filogic_patches() { |
| 7 | cd ${S} |
| 8 | if [ ! -e patch_applied ]; then |
| 9 | patch -p1 < ${WORKDIR}/sta-network.patch |
developer | 8c05d0a | 2022-10-05 18:03:56 +0800 | [diff] [blame] | 10 | patch -p1 < ${WORKDIR}/add_undefined_dfs_function.patch |
developer | c6a2732 | 2023-01-13 15:23:06 +0800 | [diff] [blame] | 11 | patch -p1 < ${WORKDIR}/0001-Add-owe-mode.patch |
developer | ca67207 | 2023-02-24 18:01:27 +0800 | [diff] [blame^] | 12 | if ${@bb.utils.contains('DISTRO_FEATURES','wifi_eht','true','false',d)}; then |
| 13 | patch -p1 < ${WORKDIR}/0002-Add-EHT-support.patch |
| 14 | fi |
developer | 0d67a39 | 2022-07-15 11:55:52 +0800 | [diff] [blame] | 15 | touch patch_applied |
| 16 | fi |
| 17 | } |
| 18 | addtask filogic_patches after do_unpack before do_compile |
| 19 | |
| 20 | CFLAGS_append = " -DWIFI_HAL_VERSION_3" |