]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/qa: add ELF machine to string function
authorRoss Burton <ross.burton@intel.com>
Tue, 11 Oct 2016 12:19:43 +0000 (13:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Oct 2016 21:17:48 +0000 (22:17 +0100)
commit72336003741fb16a7ecdd6b753eae56310413ff7
tree36a3bfa226cba437062c20e19f30c927568d0df7
parent70b9b1f5bbc07d97f90b62793bf2c5aa01884436
lib/oe/qa: add ELF machine to string function

Add a function (and test suite) to turn the ELF machine field (e_machine) into a
string, so we can tell the user "x86-64" instead of 0x3E.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/qa.py
meta/lib/oe/tests/test_elf.py [new file with mode: 0644]