]> code.ossystems Code Review - openembedded-core.git/commit
kernel-yocto: test for empty artifacts
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 30 Aug 2016 16:49:05 +0000 (12:49 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Sep 2016 10:55:49 +0000 (11:55 +0100)
commit58715183493de1deb90f2ab075048462b4bf6c73
treeff7be75cfa21ef16b617c91f781506720af07002
parent8c5cf8193441814e46b7e118655b4e622f785ce5
kernel-yocto: test for empty artifacts

With the updated kernel tools, we generate a list of sccs, patches,
configs and BSP definitions as part of the meta data generation.

It is valid if there aren't any of these artifacts found (i.e. you
are just building a branch and a default config), but invoking the
tools with no inputs isn't a good idea.

To avoid this issue, we generate a string based on the artifacts
and skip calling the tools if there's nothing to do.

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