[][MAC80211][misc][Add MT7996 external openwrt build]
[Description]
Add MT7996 external openwrt build
[Release-log]
N/A
Change-Id: I92f3abce893f401df64f7390f1783d4557963848
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6967021
diff --git a/autobuild_mac80211_release/mt7988_mt7996_mac80211/lede-branch-build-sanity.sh b/autobuild_mac80211_release/mt7988_mt7996_mac80211/lede-branch-build-sanity.sh
index 94bb714..53fc917 100755
--- a/autobuild_mac80211_release/mt7988_mt7996_mac80211/lede-branch-build-sanity.sh
+++ b/autobuild_mac80211_release/mt7988_mt7996_mac80211/lede-branch-build-sanity.sh
@@ -52,10 +52,18 @@
echo "CONFIG_RELAY=y" >> ${BUILD_DIR}/target/linux/mediatek/mt7988/config-5.4
prepare_flowoffload
+##############################################################################
+rm -rf ${MTK_FEED_DIR}/autobuild_mac80211_release/package/kernel/mt76/patches
+##############################################################################
#prepare mac80211 mt76 wifi stuff
prepare_mac80211 ${backport_new}
+###############################################################################
+# remove hostapd internal patches
+rm -rf ${BUILD_DIR}/package/network/services/hostapd/patches/999*mtk*.patch
+###############################################################################
+
prepare_final ${branch_name}
change_dot_config