diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-08 10:42:22 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-13 18:09:10 +0100 |
commit | 34e1bea0e846b88200e933c96a539fb440dec4df (patch) | |
tree | 0453c3b071897b78ebb234fac8fdcb871db94385 /meta/classes/qemuboot.bbclass | |
parent | 1584108bdcd4083d7ee753048b68248da13782f6 (diff) | |
download | poky-34e1bea0e846b88200e933c96a539fb440dec4df.tar.gz |
qemu: Set SMP to 4 cpus for arm/x86 only
Only qemux86* and qemuarm* support SMP with our current configurations so
rework qemu SMP enabling to account for that and only use it on the architectures
where it works.
(From OE-Core rev: ee371325ce651cc113e43bdeb5d8986d5b84a3f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/qemuboot.bbclass')
-rw-r--r-- | meta/classes/qemuboot.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/qemuboot.bbclass b/meta/classes/qemuboot.bbclass index 0fdd10099c..2b50ddaa22 100644 --- a/meta/classes/qemuboot.bbclass +++ b/meta/classes/qemuboot.bbclass | |||
@@ -83,7 +83,7 @@ | |||
83 | # See "runqemu help" for more info | 83 | # See "runqemu help" for more info |
84 | 84 | ||
85 | QB_MEM ?= "-m 256" | 85 | QB_MEM ?= "-m 256" |
86 | QB_SMP ?= "-smp 4" | 86 | QB_SMP ?= "" |
87 | QB_SERIAL_OPT ?= "-serial mon:stdio -serial null" | 87 | QB_SERIAL_OPT ?= "-serial mon:stdio -serial null" |
88 | QB_DEFAULT_KERNEL ?= "${KERNEL_IMAGETYPE}" | 88 | QB_DEFAULT_KERNEL ?= "${KERNEL_IMAGETYPE}" |
89 | QB_DEFAULT_FSTYPE ?= "ext4" | 89 | QB_DEFAULT_FSTYPE ?= "ext4" |