]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-yocto: account for extracted defconfig in elements check 2020-04.2-dunfell
authorBruce Ashfield <bruce.ashfield@gmail.com>
Fri, 17 Jul 2020 12:56:33 +0000 (08:56 -0400)
committerSteve Sakoman <steve@sakoman.com>
Thu, 23 Jul 2020 14:07:37 +0000 (04:07 -1000)
The test for whether or not scc should to invoked to generate a
config.queue was missing the newly created sccs_defconfig variable.
We need to test for that variable as well, or we may miss generating
the config.queue in some cases.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a95e171d3eaa6ab143d4f422c98a0ac7ad31761)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel-yocto.bbclass

index 54a1a1627ab930afbd749f5a9c75bb314a6c268d..3311f6e84e99b0e39456b8421d76893ce1367242 100644 (file)
@@ -213,7 +213,7 @@ do_kernel_metadata() {
        meta_dir=$(kgit --meta)
 
        # run1: pull all the configuration fragments, no matter where they come from
-       elements="`echo -n ${bsp_definition} ${sccs} ${patches} ${KERNEL_FEATURES}`"
+       elements="`echo -n ${bsp_definition} $sccs_defconfig ${sccs} ${patches} ${KERNEL_FEATURES}`"
        if [ -n "${elements}" ]; then
                echo "${bsp_definition}" > ${S}/${meta_dir}/bsp_definition
                scc --force -o ${S}/${meta_dir}:cfg,merge,meta ${includes} $sccs_defconfig $bsp_definition $sccs $patches ${KERNEL_FEATURES}