]> 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>
Sat, 6 Jan 2018 10:11:42 +0000 (10:11 +0000)
commitd831b1cbff2901f10f79bb43c839839f73c428a3
treecdee2b752160dbde1aad3f6466aab2e9e8b60d73
parent57791aa2700c39549cd0e542d7fdbb89c6185e22
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>
(cherry picked from commit 7e98c295c1bb511ece51b5f8c97f26c173ddaf76)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/kernel-yocto.bbclass