From: Bruce Ashfield Date: Thu, 15 Jul 2021 19:30:07 +0000 (-0400) Subject: linux-yocto: add vfat KERNEL_FEATURE when MACHINE_FEATURES include vfat X-Git-Tag: uninative-3.3~225 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=bc61fdbb5f6e409ee03e8939bcefa133debdc028;p=openembedded-core.git linux-yocto: add vfat KERNEL_FEATURE when MACHINE_FEATURES include vfat If a machine has vfat in its MACHINE_FEATURES, we can ensure that the kernel has support by enabling the associated KERNEL_FEATURE. This partially addresses Yocto bug 14470. Signed-off-by: Bruce Ashfield Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index a85280990b..eb3081ee31 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc @@ -34,6 +34,7 @@ KERNEL_LD_append_arc = " ${TOOLCHAIN_OPTIONS}" KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" +KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}" # A KMACHINE is the mapping of a yocto $MACHINE to what is built # by the kernel. This is typically the branch that should be built,