[[RDKB]Support eagle mp3, kite mp1, eagle mp4, kite mp2 in RDKB]
[Description]
Add script for preparing hostapd/wpa-supplicant patch.
[Release-log]
Change-Id: I16d1d60855cf5d5af23182e1a1bbb98dcfdaae80
diff --git a/setup-environment b/setup-environment
index b881e8f..629e64c 100755
--- a/setup-environment
+++ b/setup-environment
@@ -55,6 +55,16 @@
EOF
fi
+if [[ ! -d ../meta-filogic-logan/recipes-wifi/hostapd/files/patches ]]
+then
+ sh ../meta-cmf-filogic/mtk_scripts/sync_hostapd_patch.sh hostapd
+fi
+
+if [[ ! -d ../meta-filogic-logan/recipes-wifi/wpa-supplicant/files/patches ]]
+then
+ sh ../meta-cmf-filogic/mtk_scripts/sync_hostapd_patch.sh wpa_supplicant
+fi
+
# Add meta-rdk-opensync only if not already present.
if [[ $(grep '^BBLAYERS' conf/bblayers.conf | grep -c 'meta-rdk-opensync') -eq 0 ]] && [[ -d ../meta-rdk-opensync ]]
then