blob: d53e9f844abe2109272cf1ce87ae8defc034409a [file] [log] [blame]
developer15a43312022-04-12 11:23:23 +08001
2BRANCH_MTK_IMPL= "nightly/20220329-dunfell"
3
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