]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
qemu: disable qemu user emulation on MIPS64 for host variant
authorAdam Duskett <Adamduskett@outlook.com>
Sun, 1 Apr 2018 16:36:36 +0000 (18:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 28 Apr 2018 13:24:46 +0000 (15:24 +0200)
commit17024f5900b9803fc34388c39915f70ce51fb037
tree9e532a4bc3034208d14d885e7cb21d1eee5e4c32
parentd7f74dced987a81ebd98de8dd2f70f5effda7463
qemu: disable qemu user emulation on MIPS64 for host variant

According to target/mips/TODO in the Qemu sources:

MIPS64
------
- Userland emulation (both n32 and n64) not functional.

And indeed, trying to run a mips64n32 binary under qemu user emulation
results in:

Invalid ELF image for this architecture

So we move the BR2_mips64(el) dependency from
BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS to
BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS, so that only the system
emulation is available on mips64, and not the user-mode emulation.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qemu/Config.in.host