blob: 48f25d47bc5eb031a38a500a60bbcc69dfe70cdf [file] [log] [blame]
developer90379572024-05-29 17:23:20 +08001ALLOW_EMPTY_${PN} = "1"
2
3FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
4SRC_URI += "file://sta-network.patch;apply=no"
5
6#This is workaround for missing do_patch when RDK uses external sources
7do_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}
14addtask rpi_patches after do_unpack before do_compile
15
16CFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'halVersion3', ' -DWIFI_HAL_VERSION_3 ', '', d)}"