[rdkb][common][app][Refactor filogic-sync-openwrt-wifi.sh]
[Description]
Refactor filogic-sync-openwrt-wifi.sh
1. add auto sync atenl process into sync script
[Release-log]
Change-Id: I6ac676ef36080fd72c2d9128a0d16ed7a9dff686
diff --git a/mtk_scripts/filogic-sync-openwrt-wifi.sh b/mtk_scripts/filogic-sync-openwrt-wifi.sh
index 64aaa29..12b352c 100755
--- a/mtk_scripts/filogic-sync-openwrt-wifi.sh
+++ b/mtk_scripts/filogic-sync-openwrt-wifi.sh
@@ -130,4 +130,9 @@
ver=`grep "PKG_SOURCE_VERSION" mac80211_package/package/libs/libnl-tiny/Makefile | cut -c 21-`
sed -i 's/SRCREV =.*/SRCREV = "'$ver'"/g' meta-filogic/recipes-connectivity/libnl-tiny/libnl-tiny_git.bb
+echo "Update atenl ...... "
+cp -rf mtk_openwrt_feeds/feed/atenl/src meta-filogic/recipes-devtools/atenl/files/
+cp -f mtk_openwrt_feeds/feed/atenl/files/ated.sh meta-filogic/recipes-devtools/atenl/files/
+cp -f mtk_openwrt_feeds/feed/atenl/files/iwpriv.sh meta-filogic/recipes-devtools/atenl/files/
+
echo "Sync from OpenWRT done , ready to commit meta-filogic!!!"