[rdkb][common][misc][Refactor BB file]
[Description]
Refactor BB file
[Release-log]
Change-Id: I83c7d7df4ab351b59275937cdba351b1628adf27
diff --git a/recipes-ccsp/hal/hal-ethsw-generic_git.bbappend b/recipes-ccsp/hal/hal-ethsw-generic_git.bbappend
index a7f1486..c3c0cc5 100644
--- a/recipes-ccsp/hal/hal-ethsw-generic_git.bbappend
+++ b/recipes-ccsp/hal/hal-ethsw-generic_git.bbappend
@@ -4,7 +4,7 @@
CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'rdkb_wan_manager', ' -DFEATURE_RDKB_WAN_MANAGER ', '', d)}"
-CFLAGS_append_mt7988 = " -DTHREE_GMACS_SUPPORT"
+CFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'three_gmac', ' -DTHREE_GMACS_SUPPORT ', '', d)}"
do_configure_prepend(){
if ${@bb.utils.contains('DISTRO_FEATURES','switch_gsw_mode','true','false',d)}; then
diff --git a/recipes-wifi/linux-mt76/mt76-3x.inc b/recipes-wifi/linux-mt76/mt76-3x.inc
index 5e771c1..6d37a04 100644
--- a/recipes-wifi/linux-mt76/mt76-3x.inc
+++ b/recipes-wifi/linux-mt76/mt76-3x.inc
@@ -1 +1 @@
-SRCREV_mt7988 = "680bc70f161fde0f167e2ae50c771be4775eb50a"
+SRCREV_mt7990 = "680bc70f161fde0f167e2ae50c771be4775eb50a"