]> code.ossystems Code Review - openembedded-core.git/commitdiff
linux-yocto: add vfat KERNEL_FEATURE when MACHINE_FEATURES include vfat
authorBruce Ashfield <bruce.ashfield@gmail.com>
Thu, 15 Jul 2021 19:30:07 +0000 (15:30 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 18 Jul 2021 22:09:23 +0000 (23:09 +0100)
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 <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/linux-yocto.inc

index a85280990b43f5ab179aeb8e18494237024ae8f9..eb3081ee31c895e5b3106544023b6dffda1619b3 100644 (file)
@@ -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,