summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-17 22:27:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-18 17:21:39 +0100
commit46e30464b4d4f2c826723791264629638a32a518 (patch)
tree4b959f7504311d2713a2c36ec41e958bc9de8bc5 /meta/recipes-devtools
parentcf648b0d28b5d583326dac27fb4652202e1d7457 (diff)
downloadpoky-46e30464b4d4f2c826723791264629638a32a518.tar.gz
qemu: Drop mips workaround
In local testing this appears to not be needed any more. Since the bash dependency is painful in many different ways, particularly being injected at do_package time, drop it all. (From OE-Core rev: b30c1e5805b3f108a2d0a30259b50b9e7db0f6cc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc17
1 files changed, 0 insertions, 17 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 6a5ab56436..4a15c97d93 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -155,20 +155,6 @@ do_install () {
155 rm ${D}${datadir}/qemu/hppa* -f 155 rm ${D}${datadir}/qemu/hppa* -f
156} 156}
157 157
158# The following fragment will create a wrapper for qemu-mips user emulation
159# binary in order to work around a segmentation fault issue. Basically, by
160# default, the reserved virtual address space for 32-on-64 bit is set to 4GB.
161# This will trigger a MMU access fault in the virtual CPU. With this change,
162# the qemu-mips works fine.
163# IMPORTANT: This piece needs to be removed once the root cause is fixed!
164do_install:append() {
165 if [ -e "${D}/${bindir}/qemu-mips" ]; then
166 create_wrapper ${D}/${bindir}/qemu-mips \
167 QEMU_RESERVED_VA=0x0
168 fi
169}
170# END of qemu-mips workaround
171
172# Disable kvm/virgl/mesa on targets that do not support it 158# Disable kvm/virgl/mesa on targets that do not support it
173PACKAGECONFIG:remove:darwin = "kvm virglrenderer epoxy gtk+" 159PACKAGECONFIG:remove:darwin = "kvm virglrenderer epoxy gtk+"
174PACKAGECONFIG:remove:mingw32 = "kvm virglrenderer epoxy gtk+ pie" 160PACKAGECONFIG:remove:mingw32 = "kvm virglrenderer epoxy gtk+ pie"
@@ -258,9 +244,6 @@ python split_qemu_packages () {
258 subpackages += do_split_packages(d, archdir, r'^qemu-((?!system|edid|ga|img|io|nbd|pr-helper|storage-daemon).*)$', '${PN}-user-%s', 'QEMU full user emulation binaries(%s)' , prepend=True, extra_depends='${PN}-common') 244 subpackages += do_split_packages(d, archdir, r'^qemu-((?!system|edid|ga|img|io|nbd|pr-helper|storage-daemon).*)$', '${PN}-user-%s', 'QEMU full user emulation binaries(%s)' , prepend=True, extra_depends='${PN}-common')
259 if subpackages: 245 if subpackages:
260 d.appendVar('RDEPENDS:' + d.getVar('PN'), ' ' + ' '.join(subpackages)) 246 d.appendVar('RDEPENDS:' + d.getVar('PN'), ' ' + ' '.join(subpackages))
261 mipspackage = d.getVar('PN') + "-user-mips"
262 if mipspackage in ' '.join(subpackages):
263 d.appendVar('RDEPENDS:' + mipspackage, ' ' + d.getVar("MLPREFIX") + 'bash')
264} 247}
265 248
266# Put the guest agent in a separate package 249# Put the guest agent in a separate package