Added Epiphany machine definitions
PATCH 1/1 Added Epiphany machine definitions
Adding machine definitions for the epiphany (http://www.adapteva.com/) chip.
using https://github.com/adapteva/epiphany-binutils-gdb.
For binutils implementation that defines TARGET_ARCH MACHINE "epiphany": 4643 See https://github.com/adapteva/epiphany-binutils-gdb/blob/epiphany-binutils-2.24/bfd/elf32-epiphany.c
For example layer that uses these defines see https://github.com/peteasa/meta-epiphany.git
Signed-off-by Peter Saunderson <[email protected]>
--- meta/classes/insane.bbclass | 7 +++++++ 1 file changed, 7 insertions(+)
meta/classes/insane.bbclass +7 -0
@@ -52,6 +52,9 @@ def package_qa_get_machine_dict(): "darwin9" : { "arm" : (40, 0, 0, True, 32), }, + "e-os" : { + "epiphany": ( 4643, 0, 0, True, 32), + }, "linux" : { "aarch64" : (183, 0, 0, True, 64), "aarch64_be" :(183, 0, 0, False, 64),
@@ -445,6 +448,10 @@ def package_qa_check_arch(path,name,d, elf, messages): provides = d.getVar('PROVIDES', True) bpn = d.getVar('BPN', True) + # FIXME: epiphany cross compile confuses this check + if (target_os == 'e-os'): + return + # FIXME: Cross package confuse this check, so just skip them for s in ['cross', 'nativesdk', 'cross-canadian']: if bb.data.inherits_class(s, d):
Signature · 1 line
2.1.0