mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
QB_SMP: allow user modification
Allow a user to override the QM_SMP value giving them the opportunity to select for themselves the number of CPUs to use in qemu. (From OE-Core rev: 70a91e6d0357149c00b97f7e66e16cbc52997a92) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
84f3d39dd2
commit
9e0145df7a
@@ -26,7 +26,7 @@ UBOOT_ENTRYPOINT:riscv32 = "0x80400000"
|
||||
UBOOT_ENTRYPOINT:riscv64 = "0x80200000"
|
||||
|
||||
# qemuboot options
|
||||
QB_SMP = "-smp 4"
|
||||
QB_SMP ?= "-smp 4"
|
||||
QB_KERNEL_CMDLINE_APPEND = "earlycon=sbi"
|
||||
QB_MACHINE = "-machine virt"
|
||||
QB_DEFAULT_BIOS = "fw_jump.elf"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# For runqemu
|
||||
IMAGE_CLASSES += "qemuboot"
|
||||
QB_SMP = "-smp 4"
|
||||
QB_SMP ?= "-smp 4"
|
||||
QB_CPU:x86 = "-cpu IvyBridge -machine q35,i8042=off"
|
||||
QB_CPU_KVM:x86 = "-cpu IvyBridge -machine q35,i8042=off"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user