siteinfo.bbclass: Add LatticeMico32 architecture site info
PATCH 1/3 siteinfo.bbclass: Add LatticeMico32 architecture site info
Add the basic architecture site info targets for the LatticeMico32 architecture. This architecture does not target Linux.
Signed-off-by Nathan Rossi <[email protected]>
--- meta/classes/siteinfo.bbclass | 1 + 1 file changed, 1 insertion(+)
meta/classes/siteinfo.bbclass +1 -0
@@ -30,6 +30,7 @@ def siteinfo_data(d): "i586": "endian-little bit-32 ix86-common", "i686": "endian-little bit-32 ix86-common", "ia64": "endian-little bit-64", + "lm32": "endian-big bit-32", "microblaze": "endian-big bit-32 microblaze-common", "microblazeeb": "endian-big bit-32 microblaze-common", "microblazeel": "endian-little bit-32 microblaze-common",
---
2.19.0
PATCH 2/3 lib/oe/elf.py: Add LatticeMico32 architecture definition
Add the ELF definition for the LaticeMico32 architecture. This architecture is 'elf' OS only as it does not target Linux.
Signed-off-by Nathan Rossi <[email protected]>
--- meta/lib/oe/elf.py | 1 + 1 file changed, 1 insertion(+)
meta/lib/oe/elf.py +1 -0
@@ -13,6 +13,7 @@ def machine_dict(d): "i586" : (3, 0, 0, True, 32), "x86_64": (62, 0, 0, True, 64), "epiphany": (4643, 0, 0, True, 32), + "lm32": (138, 0, 0, False, 32), "mips": ( 8, 0, 0, False, 32), "mipsel": ( 8, 0, 0, True, 32), "microblaze": (189, 0, 0, False, 32),
---
2.19.0
PATCH 3/3 qemu-targets.inc: Mark 'lm32' as softmmu only architecture
In reply to Nathan RossiThe lm32 architecture does not support linux-user within QEMU as it is not a Linux supported target.
Signed-off-by Nathan Rossi <[email protected]>
--- meta/recipes-devtools/qemu/qemu-targets.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/qemu/qemu-targets.inc +1 -1
@@ -7,7 +7,7 @@ def get_qemu_target_list(d): archs = d.getVar('QEMU_TARGETS').split() tos = d.getVar('HOST_OS') softmmuonly = "" - for arch in ['ppcemb']: + for arch in ['ppcemb', 'lm32']: if arch in archs: softmmuonly += arch + "-softmmu," archs.remove(arch)
---
2.19.0