]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: use defconfig if it exists
authorDarren Hart <dvhart@linux.intel.com>
Tue, 8 Feb 2011 22:31:23 +0000 (14:31 -0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 9 Feb 2011 22:44:52 +0000 (22:44 +0000)
commitba163a43789e2e776737a7da11217796b6c0e362
treee752a1de89a7a20e29f03d1b29b5cf301d18a646
parent8d1b4fe2876f04ae7d5bb4818654d98f1afef91e
kernel.bbclass: use defconfig if it exists

It is common enough to want to apply a defconfig if the inheriting
recipe provides it. If the file exists in the $WORKDIR, copy it
over to ${S}/.config provided the target does not already exist.

This allows for recipes derived from kernel.bbclass to manage the
.config on their own, such as linux.inc.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
meta/classes/kernel.bbclass