blob: c9cdcbe67aa4220da34d563cdc355791c0ec77f9 [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001
developere47561c2022-04-27 20:42:58 +08002BRANCH_MTK_IMPL= "master"
developer15a43312022-04-12 11:23:23 +08003
4SRC_URI = "${CMF_GITHUB_ROOT}/hal-wifi-cfg80211;protocol=${CMF_GIT_PROTOCOL};branch=${BRANCH_MTK_IMPL};name=wifihal"
5
6FILESEXTRAPATHS_remove := "${THISDIR}/files:"
7FILESEXTRAPATHS_prepend := "${THISDIR}/hal-wifi-patches:"
8
9SRC_URI += "file://*.patch;apply=no"
10
11do_mtk_patches() {
12 cd ${S}/../../
13 if [ ! -e mtk_wifi_patch_applied ]; then
14 for i in ${WORKDIR}/*.patch; do patch -p1 < $i; done
15 fi
16 touch mtk_wifi_patch_applied
17}
18addtask mtk_patches after do_unpack before do_compile
19