kernel: copy defconfig to {B} vs {S}
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 20 Jul 2011 20:22:31 +0000 (16:22 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Jul 2011 10:51:03 +0000 (11:51 +0100)
commit47f4df46d75e72f2b499149c68d0afd5da85feb0
treedabeb7f9b0983af49de28a538ae1a379cd0a453d
parent45a206467b9dbb022e50bebdffcfe8e27a21cd99
kernel: copy defconfig to {B} vs {S}

For kernel's that use a split source/object build the copy
of defconfig to {S} in the base kernel class is problematic.
The previous solution for this was to override the do_configure
of the base kernel class in a subclass. While this is still
a viable/valid option, it does mean that changes to the base
do_configure will be missed.

The solution to this is to copy a defconfig to {B} which is
typically the same as {S}, so most kernel recipes won't see or
care about this change.

With this change in place, linux-yocto.bbclass can drop its
override of do_configure.

Tested with linux-yocto and oe linux recipes.

(From OE-Core rev: 4f03d922ce32f602a5a407cf422d82a0d036e4a0)

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