]> code.ossystems Code Review - openembedded-core.git/commit
insane: only load real files as ELF
authorRoss Burton <ross@burtonini.com>
Thu, 3 Sep 2020 12:43:19 +0000 (13:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 5 Sep 2020 21:18:12 +0000 (22:18 +0100)
commitc63af30d3b6350361daff94a59d4f14d7c5395e1
treebc2361db3c5187bcaf3041f0b439f97c4db70b17
parentce48e7d72fc9b747f9c35191d1954a58544ccfe1
insane: only load real files as ELF

The file path checks are passed an ELF object if the file is an ELF. It
doesn't make a lot of sense to load symlinks to ELFs as if they're in
the same package then the real file will be checked too.

This should speed up do_package_qa slightly as libraries won't be
scanned repeatedly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass