Adding oe-core, since that's where this would be noticed (and is the
right list for it).

Steve: this change is good for backpor, and puts everything back to a
working state, the bug this fixes only came in after the initial fixes
had gone to dunfell.

Bruce

On Wed, Jul 22, 2020 at 3:53 AM Gary Bisson
<[email protected]> wrote:
>
> From: Bruce Ashfield <[email protected]>
>
> 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.
>
> (From OE-Core rev: 3a95e171d3eaa6ab143d4f422c98a0ac7ad31761)
>
> Signed-off-by: Bruce Ashfield <[email protected]>
> Signed-off-by: Richard Purdie <[email protected]>
> ---
> Hi,
>
> I believe this patch log should also say:
> Fixes: 23dcff0d39 (kernel/yocto: ensure that defconfigs are processed first)
>
> What I see on dunfell HEAD currently is that it's impossible to build my
> kernel (that uses KBUILD_DEFCONFIG) as the configme step fails because
> the config.queue in meta folder is not created.
>
> Adding this patch on dunfell branch fixed the issue, hence this backport
> request.
>
> Let me know if you have any questions.
>
> Regards,
> Gary
> ---
>  meta/classes/kernel-yocto.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/kernel-yocto.bbclass 
> b/meta/classes/kernel-yocto.bbclass
> index 54a1a1627a..3311f6e84e 100644
> --- a/meta/classes/kernel-yocto.bbclass
> +++ b/meta/classes/kernel-yocto.bbclass
> @@ -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}
> --
> 2.27.0
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140881): 
https://lists.openembedded.org/g/openembedded-core/message/140881
Mute This Topic: https://lists.openembedded.org/mt/75738482/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to