[rdkb][common][config][Refactor machine config]
[Description]
Refactor machine config
1. refactor the machine config of mt76
2. add machine config for logan
3. refactor packagegroup for mt76
4. add packagegroup for logan and mtk easymesh
[Release-log]
anch master
diff --git a/setup-environment b/setup-environment
index 55fdbb0..68a0d42 100755
--- a/setup-environment
+++ b/setup-environment
@@ -48,6 +48,13 @@
EOF
fi
+if [[ $(grep '^BBLAYERS' conf/bblayers.conf | grep -c 'meta-filogic-logan') -eq 0 ]] && [[ -d ../meta-filogic-logan ]]
+then
+ cat >> conf/bblayers.conf <<EOF
+BBLAYERS =+ "\${RDKROOT}/meta-filogic-logan"
+EOF
+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