summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlejandro Enedino Hernandez Samaniego <alejandro@enedino.org>2020-01-18 13:22:39 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-19 23:49:39 +0000
commit0f9ba4d7a04741b61f80ff4ec9384715bdce9a4c (patch)
tree9d37ef91bb9ea945cecd2a34ae127e3d6795754b /meta
parent1471a16b2e55b314a2a1118013f82121cfa0f789 (diff)
downloadpoky-0f9ba4d7a04741b61f80ff4ec9384715bdce9a4c.tar.gz
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. (From OE-Core rev: e7862d2cdd478556ec0310d2b3c140da9cb2ff0b) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oe/elf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/elf.py b/meta/lib/oe/elf.py
index 43c962c697..2ed614f652 100644
--- a/meta/lib/oe/elf.py
+++ b/meta/lib/oe/elf.py
@@ -15,6 +15,7 @@ def machine_dict(d):
15 "aarch64" : (183, 0, 0, True, 64), 15 "aarch64" : (183, 0, 0, True, 64),
16 "aarch64_be" :(183, 0, 0, False, 64), 16 "aarch64_be" :(183, 0, 0, False, 64),
17 "i586" : (3, 0, 0, True, 32), 17 "i586" : (3, 0, 0, True, 32),
18 "i686" : (3, 0, 0, True, 32),
18 "x86_64": (62, 0, 0, True, 64), 19 "x86_64": (62, 0, 0, True, 64),
19 "epiphany": (4643, 0, 0, True, 32), 20 "epiphany": (4643, 0, 0, True, 32),
20 "lm32": (138, 0, 0, False, 32), 21 "lm32": (138, 0, 0, False, 32),