[oe-commits] [openembedded-core] 97/110: arch-mips.inc: Disable QEMU usermode usage when building with n32 ABI

git at git.openembedded.org git at git.openembedded.org
Sat Sep 3 09:01:35 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 7a2788feb21416b5cc2f2fb899ebe1dee0fbcd83
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Thu Sep 1 20:50:54 2016 +0300

    arch-mips.inc: Disable QEMU usermode usage when building with n32 ABI
    
    QEMU usermode doesn't support n32 binaries, erroring with "Invalid
    ELF image for this architecture".
    
    Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/conf/machine/include/mips/arch-mips.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc
index 89d17e7..d3e83d1 100644
--- a/meta/conf/machine/include/mips/arch-mips.inc
+++ b/meta/conf/machine/include/mips/arch-mips.inc
@@ -20,6 +20,9 @@ TUNECONFLICTS[n32] = "o32 n64"
 ABIEXTENSION .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', 'n32', '' ,d)}"
 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', ' -mabi=n32', '', d)}"
 
+# user mode qemu doesn't support mips64 n32: "Invalid ELF image for this architecture"
+MACHINE_FEATURES_BACKFILL_CONSIDERED_append = " ${@bb.utils.contains('TUNE_FEATURES', 'n32', 'qemu-usermode', '', d)}"
+
 TUNEVALID[n64] = "MIPS64 n64 ABI"
 TUNECONFLICTS[n64] = "o32 n32"
 TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n64', ' -mabi=64', '', d)}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list