]> code.ossystems Code Review - openembedded-core.git/commit
kernel/yocto: ensure that defconfigs are processed first
authorBruce Ashfield <bruce.ashfield@gmail.com>
Tue, 30 Jun 2020 05:18:41 +0000 (01:18 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Jun 2020 15:41:08 +0000 (16:41 +0100)
commite6845327b69396d843a2f3c4c3ac9400ae9caedf
tree7b51f34abac7ca6ee9db02d7e7c6f0d90df2a59a
parente815a3f299da34009860aad269e2254bf0601dfa
kernel/yocto: ensure that defconfigs are processed first

It is uncommon that a BSP definition and a defconfig are used in
a single configuration. That being said, it is a valid way to
organize kernel configuration meta data.

When a defconfig is used, either on the src_uri or from in
the kernel tree, it is normally expected that it is the baseline,
with all options applied on top of it.

With this commit, we detect either type of defconfig and ensure
that it is used first, followed by the fragments in their
previous order. This allows existing configuration stacks to
remain the same, while ensuring that a defconfig combined stack
works as expected.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass