blob: b9a1361f7b9d86c0540f3d7183eb8925978c2fb7 [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
developer41e2e7d2022-05-31 14:33:04 +080020CFLAGS_append = " -DWIFI_HAL_VERSION_3"