]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jul 2020 09:37:07 +0000 (10:37 +0100)
commitf52ce0fa98bf3bd72df7467031001f3128c145f2
treeafaf02d35f74784409d932207a02fd7904a504f3
parent6e16ef0c2e0ec2bbb862231cd84e7650bd5789af
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>
meta/classes/kernel-yocto.bbclass