]> code.ossystems Code Review - openembedded-core.git/commit
insane: optimise buildpath search
authorRoss Burton <ross.burton@intel.com>
Thu, 12 Jul 2018 13:44:06 +0000 (14:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2018 09:09:29 +0000 (10:09 +0100)
commitffb52d383bfe413cf31fef13663fe9937a146c76
tree7ef5b53a7c0d3eeef72456a05df399ef2ce0c385
parent99e50d9e53ab23fc643c46378fa8c36190995335
insane: optimise buildpath search

Instead of decoding every file we open as UTF-8 (with many errors as machine
code isn't UTF-8), convert the build path to the UTF-8 byte representation and
search for that instead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/insane.bbclass