]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto: respect FILESPATH directories
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 2 Mar 2012 16:36:07 +0000 (11:36 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Mar 2012 11:44:44 +0000 (11:44 +0000)
commitecade4c986e5045879ea204e31457c9b53a15e33
tree6ff25121b9cad9f5dad5fe5407ee2e0c29a7408e
parent689c9e6e5487292e3e54faceb741fa59478d9386
linux-yocto: respect FILESPATH directories

During the work to enhance the ability to specify out of tree kernel
features, an assumption was made about PN being part of a patch
path. This assumption is incorrect, since patches can be anywhere in
the valid FILESPATH.

To make locating the patches in WORKDIR simple, we can just query
patch.bbclass and return both the absolute directory of the patch
and the subdirectory as it was specified on the src_uri.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass