[Refactor deploy image format]

[Description]
Refactor deploy image format
1. remove unnecessary image format

[Release-log]

diff --git a/conf/machine/filogic-32bit.conf b/conf/machine/filogic-32bit.conf
index c064be3..3e0f72b 100644
--- a/conf/machine/filogic-32bit.conf
+++ b/conf/machine/filogic-32bit.conf
@@ -43,7 +43,9 @@
 
 PREFERRED_PROVIDER_hal-wifi = "hal-wifi-cfg80211"
 
-IMAGE_FSTYPES += "ubi squashfs-xz ${INITRAMFS_FSTYPES}"
+IMAGE_FSTYPES ="${@bb.utils.contains('DISTRO_FEATURES','kernel_in_ubi',' squashfs-xz',' ubi',d)}"
+IMAGE_FSTYPES_DEBUGFS = ""
+IMAGE_GEN_DEBUGFS = "0"
 # Parameters for MT7986 RFB1 NAND (byte)
 # NAND_LOG_BLOCK_SIZE = NAND_PHY_BLOCK_SIZE - 2 Pages
 # NAND_LBLOCK_COUNT = NAND_PHY_BLOCK_COUNT - 53
diff --git a/conf/machine/filogic.conf b/conf/machine/filogic.conf
index d0d01d1..38f8ba2 100644
--- a/conf/machine/filogic.conf
+++ b/conf/machine/filogic.conf
@@ -42,7 +42,9 @@
 
 PREFERRED_PROVIDER_hal-wifi = "hal-wifi-cfg80211"
 
-IMAGE_FSTYPES += "ubi squashfs-xz ${INITRAMFS_FSTYPES}"
+IMAGE_FSTYPES ="${@bb.utils.contains('DISTRO_FEATURES','kernel_in_ubi',' squashfs-xz',' ubi',d)}"
+IMAGE_FSTYPES_DEBUGFS = ""
+IMAGE_GEN_DEBUGFS = "0"
 # Parameters for MT7986 RFB1 NAND (byte)
 # NAND_LOG_BLOCK_SIZE = NAND_PHY_BLOCK_SIZE - 2 Pages
 # NAND_LBLOCK_COUNT = NAND_PHY_BLOCK_COUNT - 53