[rdk-b][common][script][Add kernel verion in sync script]

[Description]
Add kernel verion in sync script

[Release-log]
N/A

diff --git a/mtk_scripts/filogic-sync-openwrt-linux.sh b/mtk_scripts/filogic-sync-openwrt-linux.sh
index 0d0faa2..efbd39c 100755
--- a/mtk_scripts/filogic-sync-openwrt-linux.sh
+++ b/mtk_scripts/filogic-sync-openwrt-linux.sh
@@ -82,6 +82,11 @@
 cp -rf openwrt/target/linux/mediatek/flow_patch meta-filogic/recipes-kernel/linux/linux-mediatek-5.4/mediatek
 #end
 
+#update kernel version
+ver=`grep "LINUX_KERNEL_HASH-5" openwrt/include/kernel-version.mk | cut -c 19-25`
+sed -i 's/LINUX_VERSION ?=.*/LINUX_VERSION ?= "'${ver}'"/g' meta-filogic/recipes-kernel/linux/linux-mediatek_5.4.bb
+#end
+
 echo "Update switch tool ...... "
 cp -rf mtk_openwrt_feeds/feed/switch/src meta-filogic/recipes-devtools/switch/files/