[rdkb][common][config][Refactor linux kernel BB file]

[Description]
1. enable CONFIG_BRIDGE_NETFILTER for filogic830 with flow offload on
2. diable CONFIG_BRIDGE_NETFILTER for filogic880 without hw path

[Release-log]

Change-Id: Icaff63aa1ad87e94bfdde5f06273d6b6c4bcd1c1
diff --git a/recipes-kernel/linux/linux-mediatek-5.4/rdkb_cfg/bridge_netfilter.cfg b/recipes-kernel/linux/linux-mediatek-5.4/rdkb_cfg/bridge_netfilter.cfg
new file mode 100644
index 0000000..fbee1c4
--- /dev/null
+++ b/recipes-kernel/linux/linux-mediatek-5.4/rdkb_cfg/bridge_netfilter.cfg
@@ -0,0 +1 @@
+CONFIG_BRIDGE_NETFILTER=y
\ No newline at end of file
diff --git a/recipes-kernel/linux/linux-mediatek_5.4.bb b/recipes-kernel/linux/linux-mediatek_5.4.bb
index 47c79c0..d03088b 100644
--- a/recipes-kernel/linux/linux-mediatek_5.4.bb
+++ b/recipes-kernel/linux/linux-mediatek_5.4.bb
@@ -45,6 +45,11 @@
     file://rdkb_cfg/filogic_rdkb.cfg \
     ${@bb.utils.contains('DISTRO_FEATURES','emmc','file://rdkb_cfg/emmc.cfg','',d)} \
 "
+
+SRC_URI_append_mt7986 += " \
+    ${@bb.utils.contains('DISTRO_FEATURES','flow_offload','file://rdkb_cfg/bridge_netfilter.cfg','',d)} \
+"
+
 require ${PN}-${PV}/generic/backport-5.4/backport-5.4.inc
 
 require ${PN}-${PV}/generic/pending-5.4/pending-5.4.inc