mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-18 05:02:38 +02:00
Default to the mainline 4.19 kernel for the 64-bit QEMU machine. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
17 lines
527 B
Plaintext
17 lines
527 B
Plaintext
#@TYPE: Machine
|
|
#@NAME: generic riscv32 machine
|
|
#@DESCRIPTION: Machine configuration for running a generic riscv32
|
|
|
|
require conf/machine/include/qemuriscv.inc
|
|
|
|
DEFAULTTUNE = "riscv32"
|
|
|
|
# The mainline 4.19 kernel doesn't compile for 32-bit RISC-V
|
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-riscv"
|
|
PREFERRED_VERSION_linux-riscv ?= "4.19%"
|
|
|
|
# u-boot doesn't compile, error: "can't link hard-float modules with soft-float modules"
|
|
# EXTRA_IMAGEDEPENDS += "u-boot"
|
|
# UBOOT_MACHINE = "qemu-riscv32_defconfig"
|
|
# UBOOT_ELF = "u-boot"
|