diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-15 15:30:07 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-18 23:09:51 +0100 |
commit | c4222023153935a6bb07f3be9e2c1a38fbc0f0e5 (patch) | |
tree | 477acf3fa1be37a60537ef0a176bbe62b07c6a30 /meta/recipes-kernel/linux/linux-yocto.inc | |
parent | 1f4c30eea22e3ab6d0a8356aeafdb3b69f9674ff (diff) | |
download | poky-c4222023153935a6bb07f3be9e2c1a38fbc0f0e5.tar.gz |
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.
(From OE-Core rev: bc61fdbb5f6e409ee03e8939bcefa133debdc028)
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>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto.inc')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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}" | |||
34 | KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" | 34 | KERNEL_FEATURES_append_qemuall=" features/debug/printk.scc" |
35 | 35 | ||
36 | KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" | 36 | KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" |
37 | KERNEL_FEATURES_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}" | ||
37 | 38 | ||
38 | # A KMACHINE is the mapping of a yocto $MACHINE to what is built | 39 | # A KMACHINE is the mapping of a yocto $MACHINE to what is built |
39 | # by the kernel. This is typically the branch that should be built, | 40 | # by the kernel. This is typically the branch that should be built, |