]> code.ossystems Code Review - openembedded-core.git/commit
machine_dict: Add i686 to the ELF machine dictionary
authorAlejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Sat, 18 Jan 2020 21:22:39 +0000 (13:22 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Jan 2020 23:49:15 +0000 (23:49 +0000)
commite7862d2cdd478556ec0310d2b3c140da9cb2ff0b
tree149f804be232fc86bf2f047107d5d750c526c115
parent2b2ebb11da16975e3b0cba7854c3cfe54e0305a3
machine_dict: Add i686 to the ELF machine dictionary

An error like the following is thrown when building
baremetal applications on some x86 architectures:

  (machine, osabi, abiversion, littleendian, bits) \
    = oe.elf.machine_dict(d)[target_os][target_arch]

Exception: KeyError: i686

Since the i686 (target_arch) key does not exist in the dictionary.

Add the key to fix the error.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/elf.py