summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2025-09-02 09:42:19 -0700
committerSteve Sakoman <steve@sakoman.com>2025-09-02 09:44:27 -0700
commit343adc0de05d4d1ef84bee6b76b5dedbcb587fb1 (patch)
treedb57dede027829e62fcd45e1667863233694e088
parent36326e581e22af56b0d8f01bdacf19678fa12819 (diff)
downloadpoky-343adc0de05d4d1ef84bee6b76b5dedbcb587fb1.tar.gz
Revert "linux-yocto/6.12: riscv: Enable TUNE_FEATURES based KERNEL_FEATURES"
This reverts commit 9296d038106aebfb66e3a76c4444597e2e1a2263. Since this patch, it looks like qemuriscv64 doesn't boot in Walnascar. (From OE-Core rev: 49f47169953b807d430461ca33f3a2b076119712) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-kernel/linux/linux-yocto.inc16
1 files changed, 0 insertions, 16 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc
index 4d0a726bb6..389329030d 100644
--- a/meta/recipes-kernel/linux/linux-yocto.inc
+++ b/meta/recipes-kernel/linux/linux-yocto.inc
@@ -37,22 +37,6 @@ KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'cfg/
37KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}" 37KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'numa', 'features/numa/numa.scc', '', d)}"
38KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}" 38KERNEL_FEATURES:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'vfat', 'cfg/fs/vfat.scc', '', d)}"
39 39
40KERNEL_FEATURES_RISCV = "\
41 arch/riscv/tunes/riscv-isa-clear.scc \
42 ${@bb.utils.contains( 'TUNE_FEATURES', 'rv 32 i m a', 'arch/riscv/tunes/riscv-isa-rv32i.scc', '', d)} \
43 ${@bb.utils.contains( 'TUNE_FEATURES', 'rv 64 i m a', 'arch/riscv/tunes/riscv-isa-rv64i.scc', '', d)} \
44 ${@bb.utils.contains( 'TUNE_FEATURES', 'f d', 'arch/riscv/tunes/riscv-isa-fpu.scc', '', d)} \
45 ${@bb.utils.contains( 'TUNE_FEATURES', 'c', 'arch/riscv/tunes/riscv-isa-c.scc', '', d)} \
46 ${@bb.utils.contains( 'TUNE_FEATURES', 'v', 'arch/riscv/tunes/riscv-isa-v.scc', '', d)} \
47 ${@bb.utils.contains_any('TUNE_FEATURES', 'b zba', 'arch/riscv/tunes/riscv-isa-zba.scc', '', d)} \
48 ${@bb.utils.contains_any('TUNE_FEATURES', 'b zbb', 'arch/riscv/tunes/riscv-isa-zbb.scc', '', d)} \
49 ${@bb.utils.contains( 'TUNE_FEATURES', 'zbc', 'arch/riscv/tunes/riscv-isa-zbc.scc', '', d)} \
50 ${@bb.utils.contains( 'TUNE_FEATURES', 'zicbom', 'arch/riscv/tunes/riscv-isa-zicbom.scc', '', d)} \
51 "
52
53KERNEL_FEATURES:append:riscv32 = " ${KERNEL_FEATURES_RISCV}"
54KERNEL_FEATURES:append:riscv64 = " ${KERNEL_FEATURES_RISCV}"
55
56# A KMACHINE is the mapping of a yocto $MACHINE to what is built 40# A KMACHINE is the mapping of a yocto $MACHINE to what is built
57# by the kernel. This is typically the branch that should be built, 41# by the kernel. This is typically the branch that should be built,
58# and it can be specific to the machine or shared 42# and it can be specific to the machine or shared