diff options
author | Adam Duskett <Adamduskett@outlook.com> | 2018-04-01 18:36:36 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-28 15:24:46 +0200 |
commit | 17024f5900b9803fc34388c39915f70ce51fb037 (patch) | |
tree | 9e532a4bc3034208d14d885e7cb21d1eee5e4c32 | |
parent | d7f74dced987a81ebd98de8dd2f70f5effda7463 (diff) | |
download | buildroot-17024f5900b9803fc34388c39915f70ce51fb037.tar.gz buildroot-17024f5900b9803fc34388c39915f70ce51fb037.zip |
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>
-rw-r--r-- | package/qemu/Config.in.host | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/qemu/Config.in.host b/package/qemu/Config.in.host index 78ff052983..957c7d2ae1 100644 --- a/package/qemu/Config.in.host +++ b/package/qemu/Config.in.host @@ -9,8 +9,6 @@ config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS default y if BR2_microblazebe default y if BR2_mips default y if BR2_mipsel - default y if BR2_mips64 - default y if BR2_mips64el default y if BR2_powerpc default y if BR2_powerpc64 default y if BR2_powerpc64le @@ -22,6 +20,8 @@ config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS config BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS bool default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS + default y if BR2_mips64 + default y if BR2_mips64el config BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS bool |