* [PATCH] lib/oe/qa: handle the 'no specific instruction set' ELF e_machine value
@ 2020-12-18 14:43 Ross Burton
2020-12-19 11:26 ` [OE-core] " Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2020-12-18 14:43 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta/lib/oe/qa.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py
index ea831b930a..e8a854a302 100644
--- a/meta/lib/oe/qa.py
+++ b/meta/lib/oe/qa.py
@@ -156,6 +156,7 @@ def elf_machine_to_string(machine):
"""
try:
return {
+ 0x00: "Unset",
0x02: "SPARC",
0x03: "x86",
0x08: "MIPS",
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [OE-core] [PATCH] lib/oe/qa: handle the 'no specific instruction set' ELF e_machine value
2020-12-18 14:43 [PATCH] lib/oe/qa: handle the 'no specific instruction set' ELF e_machine value Ross Burton
@ 2020-12-19 11:26 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2020-12-19 11:26 UTC (permalink / raw)
To: Ross Burton, openembedded-core
On Fri, 2020-12-18 at 14:43 +0000, Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> meta/lib/oe/qa.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/lib/oe/qa.py b/meta/lib/oe/qa.py
> index ea831b930a..e8a854a302 100644
> --- a/meta/lib/oe/qa.py
> +++ b/meta/lib/oe/qa.py
> @@ -156,6 +156,7 @@ def elf_machine_to_string(machine):
> """
> try:
> return {
> + 0x00: "Unset",
> 0x02: "SPARC",
> 0x03: "x86",
> 0x08: "MIPS",
This breaks the selftests that lib/oe/qa.py has. I'll fix it up.
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-19 11:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-18 14:43 [PATCH] lib/oe/qa: handle the 'no specific instruction set' ELF e_machine value Ross Burton
2020-12-19 11:26 ` [OE-core] " Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox