[OE-core] [oe-core][PATCH 1/1] qemumips64: no qemu-usermode for n32

Alexander Kanavin alexander.kanavin at linux.intel.com
Wed Oct 25 11:14:45 UTC 2017


On 10/25/2017 02:43 AM, Andre McCurdy wrote:
> On Tue, Oct 24, 2017 at 4:23 PM, Joe Slater <jslater at windriver.com> wrote:
>> qemu-usermode is only available for mips64 and o32 code.
> 
> Isn't that already handled by meta/conf/machine/include/mips/arch-mips.inc
> 
>    # 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)}"

Yes, but this is really unreadable isn't it :) I don't see how anyone 
could grasp that the above means "remove qemu-usermode from 
MACHINE_FEATURES if n32 is in TUNE_FEATURES" (without diving into 
documentation).

Any better way to express this would be appreciated.

Alex



More information about the Openembedded-core mailing list