diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-09-01 20:50:54 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:54 +0100 |
commit | 51afd4515f7373765e7fbe15aefc63668d927f5a (patch) | |
tree | 8ca27e9c052de8bd6f400c79c1f293020e56f6a6 | |
parent | 08acf585720c1a2d925a7b85f21d98a854447277 (diff) | |
download | poky-51afd4515f7373765e7fbe15aefc63668d927f5a.tar.gz |
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".
(From OE-Core rev: 66aa39a959bd41f7063fe64a9225eb9fd6c3293b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/machine/include/mips/arch-mips.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc index 89d17e7c20..d3e83d17f6 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" | |||
20 | ABIEXTENSION .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', 'n32', '' ,d)}" | 20 | ABIEXTENSION .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', 'n32', '' ,d)}" |
21 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', ' -mabi=n32', '', d)}" | 21 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n32', ' -mabi=n32', '', d)}" |
22 | 22 | ||
23 | # user mode qemu doesn't support mips64 n32: "Invalid ELF image for this architecture" | ||
24 | MACHINE_FEATURES_BACKFILL_CONSIDERED_append = " ${@bb.utils.contains('TUNE_FEATURES', 'n32', 'qemu-usermode', '', d)}" | ||
25 | |||
23 | TUNEVALID[n64] = "MIPS64 n64 ABI" | 26 | TUNEVALID[n64] = "MIPS64 n64 ABI" |
24 | TUNECONFLICTS[n64] = "o32 n32" | 27 | TUNECONFLICTS[n64] = "o32 n32" |
25 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n64', ' -mabi=64', '', d)}" | 28 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'n64', ' -mabi=64', '', d)}" |