blob: ee0cf0e1af9c67df73a22d4fadf7638368d8f446 [file] [log] [blame]
#@TYPE: Machine
#@NAME: mediatek filogic
#@NEEDED_BSPLAYERS: meta-filogic
#@DESCRIPTION: Machine configuration for running a RDK broadband on mediatek filogic
#@RDK_FLAVOR: rdkb
include conf/machine/filogic-32bit.conf
MACHINE_EXTRA_RRECOMMENDS += "kernel-modules"
MACHINE_IMAGE_NAME = "rdkb-generic-broadband-image"
MACHINEOVERRIDES .= ":broadband:filogic-32bit:mt7986-32bit"
PREFERRED_PROVIDER_u-boot-fw-utils = "libubootenv"
PREFERRED_VERSION_xfsprogs = "4.8.0"
PREFERRED_VERSION_php_dunfell = "7.1.%"
PREFERRED_VERSION_php-native_dunfell = "7.1.%"
PREFERRED_PROVIDER_virtual/kernel = "linux-mediatek"
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
PREFERRED_VERSION_linux-mediatek = "5.4.%"
PREFERRED_VERSION_linux-libc-headers = "5.4"
#masking files for dunfell build
require conf/include/filogic-bbmasks.inc
#require conf/include/rdk-external-src-platform.inc
DISTRO_FEATURES_append = " meshwifi"
DISTRO_FEATURES_append = " ipv6"
DISTRO_FEATURES_append = " kernel_in_ubi"
#DISTRO_FEATURES_append = " switch_gsw_mode"
DISTRO_FEATURES_append = " fwupgrade_manager"
DISTRO_FEATURES_append = " mt76"
DISTRO_FEATURES_append = " flow_offload"
#DISTRO_FEATURES_append = " logan"
#DISTRO_FEATURES_append = " mtk_easymesh"
# kernel 5.4 gold linker 'arm-rdk-linux-gnueabi-ld' not supported
#DISTRO_FEATURES_append = " referencepltfm "
#DISTRO_FEATURES_remove = " ld-is-gold"
DISTRO_FEATURES_remove = " three_gmac"
BBMASK .= "|meta-filogic-logan/recipes-wifi/"
#for sdk support
INHERIT_append = " uninative"
BB_SETSCENE_ENFORCE_WHITELIST_append = " %:* *:do_fetch *"
BOOT_SUFFIX = "bin"
MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"