]> code.ossystems Code Review - openembedded-core.git/commit
relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist
authorPeter Kjellerstedt <pkj@axis.com>
Fri, 20 Mar 2020 18:04:20 +0000 (19:04 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 18 Jun 2020 16:23:00 +0000 (06:23 -1000)
commitceffd920c7bdae29cd1a606f1c20d1b2d3666f5b
treec1b3171a01c90949e1b2bff1cef949e4fc0f7814
parent3ee98b6c9ddd1dd0825245ca672236b7befb9859
relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist

Rewrite relocatable_native_pcfiles() so that it can handle that any of
the checked pkgconfig directories are empty without causing an
exception.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9c5df6dc1c13e9b05ff1b47ad84ad339f6779a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/relocatable.bbclass