]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: ensure that only a single defconfig is processed
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 4 Dec 2017 15:39:25 +0000 (10:39 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 10 Dec 2017 22:41:44 +0000 (22:41 +0000)
commit7e98c295c1bb511ece51b5f8c97f26c173ddaf76
tree54e6da8551666fa1586052dedde9b8b2bff4ae30
parent44ff06635e7f575e67b7ebba5d6900b8ddbc4a06
kernel-yocto: ensure that only a single defconfig is processed

As a follow up to the changes to ensure that KBUILD_DEFCONFIG will
always get its defconfig into the processing, we also should ensure that
we don't get both a KBUILD_DEFCONFIG and a SRC_URI defconfig in the
configuration queue. If both are in the configuration queue, we end up
with competing values and a potentially long running check of 5000+
options x 2 against the final .config.

By removing the defconfig found from the SRC_URI when one is found
via KBUILD_DEFCONFIG, we ensure that only one will be processed.

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