]> code.ossystems Code Review - openembedded-core.git/commit
kernel/yocto: fix search for defconfig from src_uri
authorAndrey Zhizhikin <andrey.z@gmail.com>
Wed, 1 Jul 2020 14:58:25 +0000 (14:58 +0000)
committerSteve Sakoman <steve@sakoman.com>
Sat, 11 Jul 2020 03:11:12 +0000 (17:11 -1000)
commit11089e06bfb3d0defb52825ffba978d085385569
tree0953b10391d9a6359b49ee7660783d7b6f985aed
parent7ecc81baeacaa1149a4947791200e8819c3df677
kernel/yocto: fix search for defconfig from src_uri

Fetcher provides full paths to defconfig and scc files, which awk
comparison operator does not catch during construction of
src_uri_defconfig and sccs_from_src_uri lists. This causes the
src_uri_defconfig variable to come out empty, and fails further
validation if defconfig is only supplied via SRC_URI.

Replace comparison operator with awk match function which searches for
sub-string during filtering, effectively placing defconfig from SRC_URI
into src_uri_defconfig and scc files in sccs_from_src_uri respectively.

Fixes: 23dcff0d396c (kernel/yocto: ensure that defconfigs are processed first)
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f52ce0fa98bf3bd72df7467031001f3128c145f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel-yocto.bbclass