developer | 9037957 | 2024-05-29 17:23:20 +0800 | [diff] [blame^] | 1 | ALLOW_EMPTY_${PN} = "1" |
| 2 | |
| 3 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" |
| 4 | SRC_URI += "file://sta-network.patch;apply=no" |
| 5 | |
| 6 | #This is workaround for missing do_patch when RDK uses external sources |
| 7 | do_rpi_patches() { |
| 8 | cd ${S} |
| 9 | if [ ! -e patch_applied ]; then |
| 10 | patch -p1 < ${WORKDIR}/sta-network.patch |
| 11 | touch patch_applied |
| 12 | fi |
| 13 | } |
| 14 | addtask rpi_patches after do_unpack before do_compile |
| 15 | |
| 16 | CFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'halVersion3', ' -DWIFI_HAL_VERSION_3 ', '', d)}" |