diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/classes-recipe/kernel.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index 2d9943c8a0..eb03424dfc 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass | |||
| @@ -4,10 +4,14 @@ | |||
| 4 | # SPDX-License-Identifier: MIT | 4 | # SPDX-License-Identifier: MIT |
| 5 | # | 5 | # |
| 6 | 6 | ||
| 7 | inherit linux-kernel-base kernel-module-split | 7 | inherit linux-kernel-base kernel-module-split features_check |
| 8 | 8 | ||
| 9 | COMPATIBLE_HOST = ".*-linux" | 9 | COMPATIBLE_HOST = ".*-linux" |
| 10 | 10 | ||
| 11 | # Linux has a minimum ISA requires on riscv, see arch/riscv/Makefile | ||
| 12 | REQUIRED_TUNE_FEATURES:riscv32 = "rv 32 i m a zicsr zifencei" | ||
| 13 | REQUIRED_TUNE_FEATURES:riscv64 = "rv 64 i m a zicsr zifencei" | ||
| 14 | |||
| 11 | KERNEL_PACKAGE_NAME ??= "kernel" | 15 | KERNEL_PACKAGE_NAME ??= "kernel" |
| 12 | KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }" | 16 | KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }" |
| 13 | 17 | ||
