]> code.ossystems Code Review - openembedded-core.git/commit
insane: Recognise BPF as a valid EM_MACHINE type
authorKhem Raj <raj.khem@gmail.com>
Thu, 13 Sep 2018 04:12:09 +0000 (21:12 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Sep 2018 15:28:26 +0000 (16:28 +0100)
commit3667a8ec016bae3f8026ef7b4c895546804f6368
tree7e6cb28875a293d30f8e03b184516d1d59bca9da
parent518cca6711f737f44ff74a5ac1308de8c9b49e78
insane: Recognise BPF as a valid EM_MACHINE type

BPF Linux ELF objects are generated with kernel-selftests with
>= 4.18 kernel and when clang is enabled which packages BPF objects
into packages, therefore recongnise this as a valid ELF target

Add a selftest for BPF

Do not flag BPF objects in target, since they pretty much will be ok for
most of kernels architectures we care do support BPF

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass
meta/lib/oe/qa.py
meta/lib/oeqa/selftest/cases/oelib/elf.py