kernel-yocto: don't require meta branch for custom repos
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 22 Aug 2012 04:42:05 +0000 (00:42 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 25 Aug 2012 13:47:01 +0000 (14:47 +0100)
commitbf7cd10f9bd0e181a4ec0fe7a0bb3eb68cac20eb
treed3d1f508d8bbc03975201686499ffbc119c6021e
parentbdb86be6cd80a7b42ca146c64baa6f8513fc6827
kernel-yocto: don't require meta branch for custom repos

The commit a9f11849 [linux-yocto: explicitly export KMETA to scripts]
allows the meta branch name to be changed by exporting it to all
phases of the build.

But if a custom kernel without a meta branch is built, we end up
passing an empty string to the creation scripts, which breaks the
build since input is expected.

Inhibiting the export of KMETA to the creation scripts when empty
fixes the problem.

(From OE-Core rev: 61162fbe01993659301fe2e821bf9c3e801206d8)

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