]> 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>
Sun, 29 Jul 2018 23:01:02 +0000 (00:01 +0100)
commite0e366731116e62857fa3bdec9e3897aafcc8137
treee4dd1bc86fcb60cea1d62752fcd0bf335ac55480
parent167d0c4a9f45e3b8172fc34bf80f3fa587513b0a
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.

(From OE-Core rev: ffb52d383bfe413cf31fef13663fe9937a146c76)

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