diff options
author | Trevor Woerner <twoerner@gmail.com> | 2023-02-21 15:44:44 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-23 12:10:09 +0000 |
commit | 70a91e6d0357149c00b97f7e66e16cbc52997a92 (patch) | |
tree | f59b5b5608ebd04ac1d6efa34a932b72d43ed968 /meta/conf/machine/include/riscv | |
parent | 2f8c20ab6750bd900b28e6468493cbd010144050 (diff) | |
download | openembedded-core-70a91e6d0357149c00b97f7e66e16cbc52997a92.tar.gz |
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.
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/riscv')
-rw-r--r-- | meta/conf/machine/include/riscv/qemuriscv.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/riscv/qemuriscv.inc b/meta/conf/machine/include/riscv/qemuriscv.inc index 1d32b4a582..c977a266ca 100644 --- a/meta/conf/machine/include/riscv/qemuriscv.inc +++ b/meta/conf/machine/include/riscv/qemuriscv.inc @@ -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" |